@hinkal/common 0.1.20 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,643 +1,641 @@
1
- import { addGlobals as e } from "./addGlobals.mjs";
2
- import { getDataServerURL as a, getServerURL as i } from "./API/getServerURL.mjs";
3
- import { getCoingeckoPrice as n, getCoingeckoPrice2 as p, getCoingeckoPrices as m, getCoingeckoTokenList as l } from "./API/getCoingeckoPrice.mjs";
4
- import { callOneInchAPI as d } from "./API/callOneInchAPI.mjs";
5
- import { getBeefyHistoricalChartData as x } from "./API/callBeefyGraphAPI.mjs";
6
- import { callRelayerTransactAPI as u } from "./API/callRelayer.mjs";
7
- import { getAxelarGasEstimate as y } from "./API/getAxelarGasEstimate.mjs";
8
- import { getGasEstimates as T } from "./API/getGasEstimates.mjs";
9
- import { getTokenPrice as k, getTokenPriceEth as S, getTokenPrices as I } from "./API/getTokenPrice.mjs";
10
- import { checkRisk as E } from "./API/checkRisk.mjs";
11
- import { getIdleRelay as b } from "./API/relayCalls.mjs";
12
- import { API as v } from "./API/API.mjs";
13
- import { getCurvePools as w, getCurvePoolsforPriceFetching as U, getExtendedPoolInfo as B, lpTokens as F, lpTokensToBasePool as _ } from "./API/callCurveAPI.mjs";
14
- import { getRelayerURL as N } from "./API/getRelayerURL.mjs";
15
- import { getPublicWalletBalance as V } from "./API/duneAPI.mjs";
16
- import { IMAGE_PATHS as H } from "./constants/assets.constants.mjs";
17
- import { urlForBeefyVaultTokens as K, urlForBeefyVaultTotalInUSD as Y, urlForRegularTokenPricesInBeefy as z } from "./constants/token-data/tokenPricing.consts.mjs";
18
- import { networkRegistry as q } from "./constants/token-data/ethMainnetRegistryFixed.json.mjs";
19
- import { networkRegistry as j } from "./constants/token-data/arbMainnetRegistryFixed.json.mjs";
20
- import { networkRegistry as J } from "./constants/token-data/bnbMainnetRegistryFixed.json.mjs";
21
- import { networkRegistry as ee } from "./constants/token-data/polygonRegistryFixed.json.mjs";
22
- import { networkRegistry as oe } from "./constants/token-data/avalancheRegistryFixed.json.mjs";
23
- import { networkRegistry as ae } from "./constants/token-data/optimismRegistryFixed.json.mjs";
24
- import { networkRegistry as se } from "./constants/token-data/baseRegistryFixed.json.mjs";
25
- import { networkRegistry as pe } from "./constants/token-data/ethMainnetRegistry.json.mjs";
26
- import { networkRegistry as le } from "./constants/token-data/arbMainnetRegistry.json.mjs";
27
- import { networkRegistry as de } from "./constants/token-data/bnbMainnetRegistry.json.mjs";
28
- import { networkRegistry as xe } from "./constants/token-data/polygonRegistry.json.mjs";
29
- import { networkRegistry as ue } from "./constants/token-data/avalancheRegistry.json.mjs";
30
- import { networkRegistry as ye } from "./constants/token-data/optimismRegistry.json.mjs";
31
- import { networkRegistry as Te } from "./constants/token-data/baseRegistry.json.mjs";
32
- import { networkRegistry as ke } from "./constants/token-data/localhostRegistry.json.mjs";
33
- import { PopularTokenSymbols as Ie } from "./constants/token-data/popularTokens.constants.mjs";
34
- import { getERC20Registry as Ee, getFixedRegistry as he } from "./constants/token-data/ERC20Registry.mjs";
35
- import { default as De } from "./constants/deploy-data/deploy-data-bnbMainnet.json.mjs";
36
- import { default as Le } from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
37
- import { default as Ue } from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
38
- import { default as Fe } from "./constants/deploy-data/deploy-data-optimism.json.mjs";
39
- import { default as Me } from "./constants/deploy-data/deploy-data-polygon.json.mjs";
40
- import { default as Oe } from "./constants/deploy-data/deploy-data-avalanche.json.mjs";
41
- import { default as We } from "./constants/deploy-data/deploy-data-base.json.mjs";
42
- import { default as Ge } from "./constants/deploy-data/deploy-data-localhost.json.mjs";
43
- import { default as Ye } from "./constants/deploy-data/deploy-data-axelar1.json.mjs";
44
- import { default as Ze } from "./constants/deploy-data/deploy-data-axelar2.json.mjs";
45
- import { EthereumNetworkType as Qe, chainIds as je, chainIdsByType as Xe, crossChainAccessTokenNetworks as Je, getNonLocalhostChainId as $e, isLocalNetwork as er, isOptimismBedrockLike as rr, isOptimismEcotoneLike as or, isOptimismLike as tr, localhostNetwork as ar, networkRegistry as ir } from "./constants/chains.constants.mjs";
46
- import { HINKAL_EXTERNAL_ACTION_FEE as nr, HINKAL_UNIVERSAL_FEE as pr, getAmountAfterRelayAndFlatFees as mr, getAmountAfterRelayAndFlatFeesAndSlippage as lr, getAmountAfterRelayFee as fr, getAmountAfterSlippage as dr, getAmountWithoutFee as cr, getHinkalFeeRateInBeeps as xr, getRelayFee as gr, getSlippageFee as ur } from "./constants/fees.constants.mjs";
47
- import { contractMetadataMapping as yr, getHinkalParameters as Rr, uniswapV2PoolData as Tr, uniswapV3FactoryData as Pr, uniswapV3PoolData as kr, uniswapV3QuoterData as Sr } from "./constants/contracts.constants.mjs";
48
- import { AIPRISE_KYB_TEMPLATE_ID_PROD as Cr, AIPRISE_KYC_TEMPLATE_ID_PROD as Er, SupportedPassports as hr, aipriseBaseOnboardingProductionUrl as br, aipriseBaseOnboardingSandboxUrl as Dr, supportedPassportLinks as vr } from "./constants/kyc.constants.mjs";
49
- import { API_CONFIG as wr, DATA_SERVER_CONFIG as Ur, DATA_SERVER_PORT as Br, DATA_SERVER_URL_LOCAL as Fr, DATA_SERVER_URL_PRODUCTION as _r, PLAYGROUND_RELAYER_URLS as Mr, PLAYGROUND_SERVER_URLS as Nr, PLAYGROUND_URL as Or, RELAYER_CONFIG as Vr, RELAYER_URLS as Wr, SERVER_URLS as Hr, STAGING_RELAYER_URLS as Gr, STAGING_SERVER_URLS as Kr, STAGING_URL as Yr } from "./constants/server.constants.mjs";
50
- import { DEPLOYMENT_MODE as Zr, deploymentMode as qr, isDevelopment as Qr, isNode as jr, isNotProduction as Xr, isPlayground as Jr, isStaging as $r, isWebpack as eo } from "./constants/vite.constants.mjs";
51
- import { CIRCOM_P as oo, CIRCOM_P_HALF as to, beefyChainIds as ao, crvSymbol as io, curveWithdrawGasTokenAddress as so, curveZeroAddress as no, cvxSymbol as po, ethVolatileAddress as mo, oneInchZeroAddress as lo, ownerPublicKey as fo, permitSignatureValidFor as co, signaturePhrase as xo, threePoolSymbol as go, zeroAddress as uo } from "./constants/protocol.constants.mjs";
52
- import { COINGECKO_API_KEY as yo, CoinGeckoChainLabels as Ro, coingeckoPriceUrl as To, coingeckoPriceUrl2 as Po, coingeckoTokenListUrl as ko, getCoingeckoIdForNativeTokens as So, getCoingeckoPlatform as Io, proCoingeckoUrl as Co, proHeader as Eo } from "./constants/coingecko.constants.mjs";
53
- import { AxelarRegistry as bo } from "./constants/axelar.constants.mjs";
54
- import { NETWORKS as vo, getGasStationUrl as Lo } from "./constants/backend.constants.mjs";
55
- import { arbMainnetCrvCvxRegistry as Uo, avalancheCrvCvxRegistry as Bo, baseCrvCvxRegistry as Fo, ethCrvCvxRegistry as _o, getCrvCvxWithChainId as Mo, optimismCrvCvxRegistry as No, polygonCrvCvxRegistry as Oo } from "./constants/crvCvx.registry.mjs";
56
- import { getCalcTokenAmountWithDynamicArray as Wo } from "./constants/crvDynamic.registry.mjs";
57
- import { ethSymbol as Go, lidoStEthContractAddress as Ko, lidoStMaticAddress as Yo, lidoStakeManagerAddress as zo, lidoWithdrawalQueueERC721Address as Zo, lidoWstEthContractAddress as qo, maticSymbol as Qo, poLidoNftAddress as jo, stMaticSymbol as Xo, wstEthSymbol as Jo } from "./constants/lido.constants.mjs";
58
- import { ACCESS_TOKEN_MINTING_POINTS as et, CERTIFICATION_DISABLE_WEEK as rt, REWARD_RECEIVABLE_TOKEN_SYMBOLS as ot, RafflePrizePoints as tt, boostAmounts as at, lpLink as it, lpProgramStartWeek as st, pointsLink as nt, raffleProgramStartWeek as pt, referralLink as mt } from "./constants/rewards.constants.mjs";
59
- import { blockReorgDepth as ft } from "./constants/reorg-depths.constants.mjs";
60
- import { ethBeefyRegistry as ct, getBeefyRegistryWithChainId as xt } from "./constants/beefy.registry.mjs";
61
- import { arbPendleRegistry as ut, bnbPendleRegistry as At, ethPendleRegistry as yt, findSyAddress as Rt, getPendleRegistryWithChainId as Tt, getYtTokensWithChainId as Pt, isYtToken as kt, optimismPendleRegistry as St } from "./constants/pendle.registry.mjs";
62
- import { poseidonFunction as Ct, poseidonHash as Et, poseidonHolder as ht } from "./crypto/poseidon.mjs";
63
- import { babyJubInstance as Dt, jubHolder as vt } from "./crypto/babyJub.mjs";
64
- import { preProcessing as wt } from "./crypto/preProcessing.mjs";
65
- import { ValueCache as Bt } from "./data-structures/ValueCache/ValueCache.mjs";
66
- import { abiDecodeUtxo as _t, checkUtxoSignature as Mt, decodeUtxo as Nt, decodeUtxoConstructorArgs as Ot } from "./data-structures/crypto-keys/decodeUTXO.mjs";
67
- import { decryptUtxo as Wt, decryptUtxoConstructorArgs as Ht, encryptUtxo as Gt } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
68
- import { EncryptionKeyPairDefaultValue as Yt, UserKeys as zt } from "./data-structures/crypto-keys/keys.mjs";
69
- import { getCircomSign as qt, isCircomNegative as Qt } from "./data-structures/crypto-keys/keyUtils.mjs";
70
- import { Hinkal as Xt } from "./data-structures/Hinkal/Hinkal.mjs";
71
- import { hinkalActionBeefy as $t } from "./data-structures/Hinkal/hinkalActionBeefy.mjs";
72
- import { hinkalActionConvex as ra } from "./data-structures/Hinkal/hinkalActionConvex.mjs";
73
- import { hinkalActionCurve as ta } from "./data-structures/Hinkal/hinkalActionCurve.mjs";
74
- import { hinkalActionPendle as ia } from "./data-structures/Hinkal/hinkalActionPendle.mjs";
75
- import { hinkalDeposit as na, hinkalDepositForOther as pa } from "./data-structures/Hinkal/hinkalDeposit.mjs";
76
- import { hinkalSwap as la } from "./data-structures/Hinkal/hinkalSwap.mjs";
77
- import { hinkalTransfer as da } from "./data-structures/Hinkal/hinkalTransfer.mjs";
78
- import { hinkalWithdraw as xa } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
79
- import { hinkalPrivateWallet as ua } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
80
- import { resetMerkleTrees as ya } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
81
- import { MerkleTree as Ta } from "./data-structures/merkle-tree/MerkleTree.mjs";
82
- import { MerkleTreeIncompleteError as ka } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
83
- import { AbstractAccessTokenSnapshotService as Ia } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
84
- import { AbstractCommitmentsSnapshotService as Ea } from "./data-structures/event-service/AbstractCommitmentsSnapshotService.mjs";
85
- import { AbstractNullifierSnapshotService as ba } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
86
- import { AbstractSnapshotService as va } from "./data-structures/event-service/AbstractSnapshotService.mjs";
87
- import { AbstractEventService as wa } from "./data-structures/event-service/AbstractEventService.mjs";
88
- import { Utxo as Ba } from "./data-structures/utxo/Utxo.mjs";
89
- import { customTokenRegistry as _a } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
90
- import { TokenChecker as Na } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
91
- import { TransactionsManager as Va } from "./data-structures/transactions-manager/TransactionsManager.mjs";
92
- import { TransactionType as Ha, externalActionToTransactionType as Ga } from "./data-structures/transactions-manager/history/history.types.mjs";
93
- import { VolatileHelper as Ya } from "./data-structures/volatile-helper/VolatileHelper.mjs";
94
- import { MultiThreadedUtxoUtils as Za, multiThreadedUtxoUtils as qa } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
95
- import { FeeOverTransactionValueError as ja } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
96
- import { getGenericFeeOverTransactionValueErrorMessage as Ja, rethrowKnownGasErrorIfPossible as $a } from "./error-handling/customErrors/customErrors.helpers.mjs";
97
- import { UserFriendlyErrorCodes as ri, transactionErrorCodes as oi } from "./error-handling/error-codes.constants.mjs";
98
- import { extractMessage as ai, getErrorMessage as ii } from "./error-handling/get-error.message.mjs";
99
- import { checkErrorForSnapshotRestore as ni } from "./error-handling/handleErrorRestore.mjs";
100
- import { logError as mi } from "./error-handling/logError.mjs";
101
- import { ErrorCategory as fi } from "./error-handling/types.mjs";
102
- import { abi as ci } from "./externalABIs/amToken.mjs";
103
- import { abi as gi } from "./externalABIs/BeefyVaultAbi.json.mjs";
104
- import { abi as Ai } from "./externalABIs/BUSD.mjs";
105
- import { abi as Ri } from "./externalABIs/CurveReadingWrapperAbi.json.mjs";
106
- import { abi as Pi } from "./externalABIs/CurveWrappedMainPool.json.mjs";
107
- import { abi as Si } from "./externalABIs/DAI.mjs";
108
- import { abi as Ci } from "./externalABIs/ERC20.json.mjs";
109
- import { abi as hi } from "./externalABIs/IQuoterV2.json.mjs";
110
- import { abi as Di } from "./externalABIs/IUniswapV3Factory.json.mjs";
111
- import { abi as Li } from "./externalABIs/SanctionsList.mjs";
112
- import { abi as Ui } from "./externalABIs/USDC.mjs";
113
- import { abi as Fi } from "./externalABIs/USDR.mjs";
114
- import { abi as Mi } from "./externalABIs/USDR3CRV.mjs";
115
- import { abi as Oi } from "./externalABIs/USDT.mjs";
116
- import { abi as Wi } from "./externalABIs/WETH.mjs";
117
- import { abi as Gi } from "./externalABIs/ISwapRouter.json.mjs";
118
- import { default as Yi } from "./externalABIs/LidoStEthAbi.json.mjs";
119
- import { default as Zi } from "./externalABIs/LidoStMaticAbi.json.mjs";
120
- import { default as Qi } from "./externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs";
121
- import { default as Xi } from "./externalABIs/PoLidoNftAbi.json.mjs";
122
- import { default as $i } from "./externalABIs/LidoWstEthAbi.json.mjs";
123
- import { default as rs } from "./externalABIs/LidoStakeManagerAbi.json.mjs";
124
- import { abi as ts } from "./externalABIs/transactionsProver.json.mjs";
125
- import { abi as is } from "./externalABIs/BabPassport.json.mjs";
126
- import { abi as ns } from "./externalABIs/GalxePassport.json.mjs";
127
- import { default as ms } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
128
- import { checkHinkalAccessToken as fs, mintAccessToken as ds, mintTokenCrossChain as cs } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
129
- import { openPassportWindow as gs } from "./functions/kyc/passportHelper.mjs";
130
- import { openDefaultPassportWindow as As } from "./functions/kyc/openDefaultPassportWindow.mjs";
131
- import { absBigInt as Rs, beepsToPercentage as Ts, bigintApplySugar as Ps, bigintMax as ks, calculateAmountUsingBeeps as Ss, calculateSum as Is, fixDecimalsAmount as Cs, getValueFirstNDigit as Es, minBigInt as hs, toBigInt as bs, toBigIntOrUndefined as Ds, toCommaSeparatedNumberString as vs, toInt as Ls, toNumberOrUndefined as ws, trimLeadingZeros as Us, truncateTo18DecimalPlaces as Bs } from "./functions/utils/amounts.utils.mjs";
132
- import { getHinkalCache as _s, loadTxsCache as Ms, resetCache as Ns, saveTxsCache as Os, setHinkalCache as Vs } from "./functions/utils/cacheFunctions.mjs";
133
- import { createProvider as Hs } from "./functions/utils/create-provider.mjs";
134
- import { decodeMetadata as Ks, getActionFromMetadata as Ys, getExternalActionIdFromNumber as zs, getExternalActionIdHash as Zs, getExternalMetadataHash as qs } from "./functions/utils/external-action.utils.mjs";
135
- import { getERC20Token as js, getERC20TokenBySymbol as Xs, getHToken as Js } from "./functions/utils/erc20tokenFunctions.mjs";
136
- import { requireEnv as en } from "./functions/utils/requireEnv.mjs";
137
- import { getSequence as on, resolveSync as tn } from "./functions/utils/resolve-sync.utils.mjs";
138
- import { convertIntegrationProviderToExternalActionId as sn } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
139
- import { getInteractionFromAction as pn } from "./functions/pre-transaction/interaction-to-action.mjs";
140
- import { outputUtxoProcessing as ln } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
141
- import { processGasEstimates as dn } from "./functions/pre-transaction/process-gas-estimates.mjs";
142
- import { processAmountChanges as xn } from "./functions/pre-transaction/processAmountChanges.mjs";
143
- import { getFlatFees as un } from "./functions/pre-transaction/getFlatFees.mjs";
144
- import { getNetworkObject as yn, getNetworkType as Rn } from "./functions/utils/evmNetworkFunctions.mjs";
145
- import { getAxelarMigrationInfo as Pn } from "./functions/utils/axelar.utils.mjs";
146
- import { browserSupported as Sn, walletSupported as In } from "./functions/utils/userAgent.mjs";
147
- import { decodeTxInput as En, decodeTxLogs as hn, deserializeDecodedTxs as bn, serializeDecodedTxs as Dn } from "./functions/utils/getDataFromTransaction.mjs";
148
- import { reloadPage as Ln } from "./functions/utils/reloadPage.mjs";
149
- import { capitalizeFirstLetter as Un, isNullOrEmpty as Bn, toTitleCase as Fn } from "./functions/utils/string.utils.mjs";
150
- import { isNicknameValid as Mn } from "./functions/utils/nickname.utils.mjs";
151
- import { caseInsensitiveEqual as On, lowerCaseIncludes as Vn, lowerCaseStartsWith as Wn } from "./functions/utils/caseInsensitive.utils.mjs";
152
- import { waitLittle as Gn } from "./functions/utils/time.utils.mjs";
153
- import { patchRegistry as Yn } from "./functions/utils/volatile-patcher.utils.mjs";
154
- import { Buffer as Zn, ProcessPolyfill as qn } from "./functions/utils/polyfills.mjs";
155
- import { calculateDollarValue as jn, ethToWei as Xn, getAmountInToken as Jn, getAmountInWei as $n, getAmountInWeiOrZero as ep, getAmountWithPrecision as rp, getAmountWithPrecisionOrZero as op, randomBigInt as tp, toBigIntWithDecimals as ap } from "./functions/web3/etherFunctions.mjs";
156
- import { getInputUtxoAndBalance as sp, getInputUtxosFromEncryptedOutputs as np } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
157
- import { addPaddingToUtxos as mp, getShieldedBalance as lp } from "./functions/web3/events/getShieldedBalance.mjs";
158
- import { getDepositEvents as dp, retrieveEvents as cp } from "./functions/web3/events/web3RetrieveEvents.mjs";
159
- import { balanceChangedHandler as gp } from "./functions/web3/events/balanceChangedHandler.mjs";
160
- import { getUniswapFee as Ap, getUniswapPrice as yp, getUniswapPriceHelper as Rp, searchPoolAndFee as Tp } from "./functions/web3/uniswapAPI.mjs";
161
- import { getOdosPrice as kp } from "./functions/web3/odosAPI.mjs";
162
- import { getOneInchPrice as Ip } from "./functions/web3/oneInchAPI.mjs";
163
- import { runContractFunction as Ep } from "./functions/web3/runContractFunction.mjs";
164
- import { constructZkProof as bp } from "./functions/snarkjs/constructGeneralZkProof.mjs";
165
- import { constructEmporiumProof as vp } from "./functions/snarkjs/constructEmporiumProof.mjs";
166
- import { buildInNullifiers as wp, buildOutCommitments as Up, calcAccessTokenSiblingsAndSides as Bp, calcAmountChanges as Fp, calcCommitmentsSiblingAndSides as _p, calcEncryptedOutputs as Mp, calcPublicSignalCount as Np, calcStealthAddressStructure as Op, createCallDataHash as Vp, deserializeCircomData as Wp, serializeCircomData as Hp } from "./functions/snarkjs/common.snarkjs.mjs";
167
- import { generateZkProof as Kp } from "./functions/snarkjs/generateZkProof.mjs";
168
- import { getCRV as zp } from "./functions/protocols/curve.protocols.mjs";
169
- import { getCVX as qp } from "./functions/protocols/convex.protocols.mjs";
170
- import { determinePendleSwapType as jp, determinePendleSwapTypeApiRoute as Xp, erc20TokenFromPendleAsset as Jp, getAssetTypeFromPendleMarket as $p, getTokenIndexForPendleFlatFee as em } from "./functions/protocols/pendle.helpers.mjs";
171
- import { calculateStakeNullifier as om, createStakeCommitment as tm, decryptStake as am, encodeHStakeMetadata as im, encryptStake as sm } from "./functions/staking/index.mjs";
172
- import { emporiumOp as pm, encodeEmporiumMetadata as mm } from "./functions/private-wallet/emporium.helpers.mjs";
173
- import { OpType as fm, produceOp as dm } from "./functions/private-wallet/opProducer.mjs";
174
- import { dataBeefyApiConfig as xm, isBeefyDeposit as gm } from "./types/beefy.types.mjs";
175
- import { defaultHookData as Am, defaultHookDataArray as ym, defaultStealthAddressStructure as Rm, emptyStealthAddressStructure as Tm } from "./types/circom-data.types.mjs";
176
- import { ContractType as km } from "./types/ethereum-network.types.mjs";
177
- import { ExternalActionId as Im } from "./types/external-action.types.mjs";
178
- import { BeefyAction as Em, ConvexAction as hm, CurveAction as bm, EventType as Dm, INTERACTION as vm, IntegrationProvider as Lm, LidoAction as wm, LidoVariant as Um, PendleAction as Bm, PendleLPAction as Fm, StakeProvider as _m, VolatileAction as Mm } from "./types/hinkal.types.mjs";
179
- import { KycVerificationResult as Om, KycVerificationStatus as Vm, Passports as Wm, VERIFICATION_TYPE as Hm, VerificationTypes as Gm } from "./types/kyc.types.mjs";
180
- import { ApprovalType as Ym } from "./types/token.types.mjs";
181
- import { SlippageType as Zm, slippageLevels as qm } from "./types/slippage.types.mjs";
182
- import { emptyDecodedTx as jm } from "./types/transactions.types.mjs";
183
- import { MONTHS as Jm, dayInMilliseconds as $m, divideMonthOnIntervals as el, getCurrentWeek as rl, getDateFromWeek as ol, getNextDay as tl, getWeekTimestamps as al, hasCertificationPeriodExpired as il, hourInMilliseconds as sl, isWeekCurrent as nl, minuteInMilliseconds as pl, parseWeek as ml, secondInMilliseconds as ll, toDateString as fl, weekInMilliseconds as dl } from "./types/time.types.mjs";
184
- import { BonusType as xl, CertifyType as gl, LP_TIER as ul, PaymentStatus as Al, PointType as yl, RafflePrizeType as Rl, RewardPage as Tl, RewardsHistoryDistribution as Pl, RewardsHistoryEligibility as kl, RewardsHistorySnapshots as Sl, RewardsHistoryStatuses as Il, RewardsPageTabs as Cl, TIER_LEVEL as El, Timeline as hl, emptyUserPointsBreakdown as bl, emptyUserPointsResponse as Dl } from "./types/rewards.types.mjs";
185
- import { PendleAssetType as Ll, PendleChains as wl, PendleDashboardTabs as Ul, PendleEarnTabs as Bl, PendleMarketTransactionTypes as Fl, PendlePoolManualTabs as _l, PendlePoolTabs as Ml, PendlePoolZapTabs as Nl, PendleSwapType as Ol, PendleTabs as Vl, PendleTradeGeneralTabs as Wl, PendleTradeTabs as Hl } from "./types/pendle.types.mjs";
186
- import { StatType as Kl, UpperTabPossibleValues as Yl, curveNetworkNames as zl, curvePools as Zl } from "./types/curve.types.mjs";
187
- import { HinkalStakeMode as Ql } from "./types/hinkal.stake.types.mjs";
188
- e();
1
+ import { getDataServerURL as o, getServerURL as t } from "./API/getServerURL.mjs";
2
+ import { getCoingeckoPrice as i, getCoingeckoPrice2 as s, getCoingeckoPrices as n, getCoingeckoTokenList as p } from "./API/getCoingeckoPrice.mjs";
3
+ import { callOneInchAPI as l } from "./API/callOneInchAPI.mjs";
4
+ import { getBeefyHistoricalChartData as c } from "./API/callBeefyGraphAPI.mjs";
5
+ import { callRelayerTransactAPI as x } from "./API/callRelayer.mjs";
6
+ import { getAxelarGasEstimate as u } from "./API/getAxelarGasEstimate.mjs";
7
+ import { getGasEstimates as y } from "./API/getGasEstimates.mjs";
8
+ import { getTokenPrice as T, getTokenPriceEth as P, getTokenPrices as k } from "./API/getTokenPrice.mjs";
9
+ import { checkRisk as I } from "./API/checkRisk.mjs";
10
+ import { getIdleRelay as E } from "./API/relayCalls.mjs";
11
+ import { API as b } from "./API/API.mjs";
12
+ import { getCurvePools as v, getCurvePoolsforPriceFetching as L, getExtendedPoolInfo as w, lpTokens as U, lpTokensToBasePool as B } from "./API/callCurveAPI.mjs";
13
+ import { getRelayerURL as _ } from "./API/getRelayerURL.mjs";
14
+ import { getPublicWalletBalance as N } from "./API/duneAPI.mjs";
15
+ import { IMAGE_PATHS as V } from "./constants/assets.constants.mjs";
16
+ import { urlForBeefyVaultTokens as H, urlForBeefyVaultTotalInUSD as G, urlForRegularTokenPricesInBeefy as K } from "./constants/token-data/tokenPricing.consts.mjs";
17
+ import { networkRegistry as z } from "./constants/token-data/ethMainnetRegistryFixed.json.mjs";
18
+ import { networkRegistry as q } from "./constants/token-data/arbMainnetRegistryFixed.json.mjs";
19
+ import { networkRegistry as j } from "./constants/token-data/bnbMainnetRegistryFixed.json.mjs";
20
+ import { networkRegistry as J } from "./constants/token-data/polygonRegistryFixed.json.mjs";
21
+ import { networkRegistry as ee } from "./constants/token-data/avalancheRegistryFixed.json.mjs";
22
+ import { networkRegistry as oe } from "./constants/token-data/optimismRegistryFixed.json.mjs";
23
+ import { networkRegistry as ae } from "./constants/token-data/baseRegistryFixed.json.mjs";
24
+ import { networkRegistry as se } from "./constants/token-data/ethMainnetRegistry.json.mjs";
25
+ import { networkRegistry as pe } from "./constants/token-data/arbMainnetRegistry.json.mjs";
26
+ import { networkRegistry as le } from "./constants/token-data/bnbMainnetRegistry.json.mjs";
27
+ import { networkRegistry as ce } from "./constants/token-data/polygonRegistry.json.mjs";
28
+ import { networkRegistry as xe } from "./constants/token-data/avalancheRegistry.json.mjs";
29
+ import { networkRegistry as ue } from "./constants/token-data/optimismRegistry.json.mjs";
30
+ import { networkRegistry as ye } from "./constants/token-data/baseRegistry.json.mjs";
31
+ import { networkRegistry as Te } from "./constants/token-data/localhostRegistry.json.mjs";
32
+ import { PopularTokenSymbols as ke } from "./constants/token-data/popularTokens.constants.mjs";
33
+ import { getERC20Registry as Ie, getFixedRegistry as Ce } from "./constants/token-data/ERC20Registry.mjs";
34
+ import { default as he } from "./constants/deploy-data/deploy-data-bnbMainnet.json.mjs";
35
+ import { default as De } from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
36
+ import { default as Le } from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
37
+ import { default as Ue } from "./constants/deploy-data/deploy-data-optimism.json.mjs";
38
+ import { default as Fe } from "./constants/deploy-data/deploy-data-polygon.json.mjs";
39
+ import { default as Me } from "./constants/deploy-data/deploy-data-avalanche.json.mjs";
40
+ import { default as Oe } from "./constants/deploy-data/deploy-data-base.json.mjs";
41
+ import { default as We } from "./constants/deploy-data/deploy-data-localhost.json.mjs";
42
+ import { default as Ge } from "./constants/deploy-data/deploy-data-axelar1.json.mjs";
43
+ import { default as Ye } from "./constants/deploy-data/deploy-data-axelar2.json.mjs";
44
+ import { EthereumNetworkType as Ze, chainIds as qe, chainIdsByType as Qe, crossChainAccessTokenNetworks as je, getNonLocalhostChainId as Xe, isLocalNetwork as Je, isOptimismBedrockLike as $e, isOptimismEcotoneLike as er, isOptimismLike as rr, localhostNetwork as or, networkRegistry as tr } from "./constants/chains.constants.mjs";
45
+ import { HINKAL_EXTERNAL_ACTION_FEE as ir, HINKAL_UNIVERSAL_FEE as sr, getAmountAfterRelayAndFlatFees as nr, getAmountAfterRelayAndFlatFeesAndSlippage as pr, getAmountAfterRelayFee as mr, getAmountAfterSlippage as lr, getAmountWithoutFee as fr, getHinkalFeeRateInBeeps as cr, getRelayFee as dr, getSlippageFee as xr } from "./constants/fees.constants.mjs";
46
+ import { contractMetadataMapping as ur, getHinkalParameters as Ar, uniswapV2PoolData as yr, uniswapV3FactoryData as Rr, uniswapV3PoolData as Tr, uniswapV3QuoterData as Pr } from "./constants/contracts.constants.mjs";
47
+ import { AIPRISE_KYB_TEMPLATE_ID_PROD as Sr, AIPRISE_KYC_TEMPLATE_ID_PROD as Ir, SupportedPassports as Cr, aipriseBaseOnboardingProductionUrl as Er, aipriseBaseOnboardingSandboxUrl as hr, supportedPassportLinks as br } from "./constants/kyc.constants.mjs";
48
+ import { API_CONFIG as vr, DATA_SERVER_CONFIG as Lr, DATA_SERVER_PORT as wr, DATA_SERVER_URL_LOCAL as Ur, DATA_SERVER_URL_PRODUCTION as Br, PLAYGROUND_RELAYER_URLS as Fr, PLAYGROUND_SERVER_URLS as _r, PLAYGROUND_URL as Mr, RELAYER_CONFIG as Nr, RELAYER_URLS as Or, SERVER_URLS as Vr, STAGING_RELAYER_URLS as Wr, STAGING_SERVER_URLS as Hr, STAGING_URL as Gr } from "./constants/server.constants.mjs";
49
+ import { DEPLOYMENT_MODE as Yr, deploymentMode as zr, isDevelopment as Zr, isNode as qr, isNotProduction as Qr, isPlayground as jr, isStaging as Xr, isWebpack as Jr } from "./constants/vite.constants.mjs";
50
+ import { CIRCOM_P as eo, CIRCOM_P_HALF as ro, beefyChainIds as oo, crvSymbol as to, curveWithdrawGasTokenAddress as ao, curveZeroAddress as io, cvxSymbol as so, ethVolatileAddress as no, oneInchZeroAddress as po, ownerPublicKey as mo, permitSignatureValidFor as lo, signaturePhrase as fo, threePoolSymbol as co, zeroAddress as xo } from "./constants/protocol.constants.mjs";
51
+ import { COINGECKO_API_KEY as uo, CoinGeckoChainLabels as Ao, coingeckoPriceUrl as yo, coingeckoPriceUrl2 as Ro, coingeckoTokenListUrl as To, getCoingeckoIdForNativeTokens as Po, getCoingeckoPlatform as ko, proCoingeckoUrl as So, proHeader as Io } from "./constants/coingecko.constants.mjs";
52
+ import { AxelarRegistry as Eo } from "./constants/axelar.constants.mjs";
53
+ import { NETWORKS as bo, getGasStationUrl as Do } from "./constants/backend.constants.mjs";
54
+ import { arbMainnetCrvCvxRegistry as Lo, avalancheCrvCvxRegistry as wo, baseCrvCvxRegistry as Uo, ethCrvCvxRegistry as Bo, getCrvCvxWithChainId as Fo, optimismCrvCvxRegistry as _o, polygonCrvCvxRegistry as Mo } from "./constants/crvCvx.registry.mjs";
55
+ import { getCalcTokenAmountWithDynamicArray as Oo } from "./constants/crvDynamic.registry.mjs";
56
+ import { ethSymbol as Wo, lidoStEthContractAddress as Ho, lidoStMaticAddress as Go, lidoStakeManagerAddress as Ko, lidoWithdrawalQueueERC721Address as Yo, lidoWstEthContractAddress as zo, maticSymbol as Zo, poLidoNftAddress as qo, stMaticSymbol as Qo, wstEthSymbol as jo } from "./constants/lido.constants.mjs";
57
+ import { ACCESS_TOKEN_MINTING_POINTS as Jo, CERTIFICATION_DISABLE_WEEK as $o, REWARD_RECEIVABLE_TOKEN_SYMBOLS as et, RafflePrizePoints as rt, boostAmounts as ot, lpLink as tt, lpProgramStartWeek as at, pointsLink as it, raffleProgramStartWeek as st, referralLink as nt } from "./constants/rewards.constants.mjs";
58
+ import { blockReorgDepth as mt } from "./constants/reorg-depths.constants.mjs";
59
+ import { ethBeefyRegistry as ft, getBeefyRegistryWithChainId as ct } from "./constants/beefy.registry.mjs";
60
+ import { arbPendleRegistry as xt, bnbPendleRegistry as gt, ethPendleRegistry as ut, findSyAddress as At, getPendleRegistryWithChainId as yt, getYtTokensWithChainId as Rt, isYtToken as Tt, optimismPendleRegistry as Pt } from "./constants/pendle.registry.mjs";
61
+ import { poseidonFunction as St, poseidonHash as It, poseidonHolder as Ct } from "./crypto/poseidon.mjs";
62
+ import { babyJubInstance as ht, jubHolder as bt } from "./crypto/babyJub.mjs";
63
+ import { preProcessing as vt } from "./crypto/preProcessing.mjs";
64
+ import { ValueCache as wt } from "./data-structures/ValueCache/ValueCache.mjs";
65
+ import { abiDecodeUtxo as Bt, checkUtxoSignature as Ft, decodeUtxo as _t, decodeUtxoConstructorArgs as Mt } from "./data-structures/crypto-keys/decodeUTXO.mjs";
66
+ import { decryptUtxo as Ot, decryptUtxoConstructorArgs as Vt, encryptUtxo as Wt } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
67
+ import { EncryptionKeyPairDefaultValue as Gt, UserKeys as Kt } from "./data-structures/crypto-keys/keys.mjs";
68
+ import { getCircomSign as zt, isCircomNegative as Zt } from "./data-structures/crypto-keys/keyUtils.mjs";
69
+ import { Hinkal as Qt } from "./data-structures/Hinkal/Hinkal.mjs";
70
+ import { hinkalActionBeefy as Xt } from "./data-structures/Hinkal/hinkalActionBeefy.mjs";
71
+ import { hinkalActionConvex as $t } from "./data-structures/Hinkal/hinkalActionConvex.mjs";
72
+ import { hinkalActionCurve as ra } from "./data-structures/Hinkal/hinkalActionCurve.mjs";
73
+ import { hinkalActionPendle as ta } from "./data-structures/Hinkal/hinkalActionPendle.mjs";
74
+ import { hinkalDeposit as ia, hinkalDepositForOther as sa } from "./data-structures/Hinkal/hinkalDeposit.mjs";
75
+ import { hinkalSwap as pa } from "./data-structures/Hinkal/hinkalSwap.mjs";
76
+ import { hinkalTransfer as la } from "./data-structures/Hinkal/hinkalTransfer.mjs";
77
+ import { hinkalWithdraw as ca } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
78
+ import { hinkalPrivateWallet as xa } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
79
+ import { resetMerkleTrees as ua } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
80
+ import { MerkleTree as ya } from "./data-structures/merkle-tree/MerkleTree.mjs";
81
+ import { MerkleTreeIncompleteError as Ta } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
82
+ import { AbstractAccessTokenSnapshotService as ka } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
83
+ import { AbstractCommitmentsSnapshotService as Ia } from "./data-structures/event-service/AbstractCommitmentsSnapshotService.mjs";
84
+ import { AbstractNullifierSnapshotService as Ea } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
85
+ import { AbstractSnapshotService as ba } from "./data-structures/event-service/AbstractSnapshotService.mjs";
86
+ import { AbstractEventService as va } from "./data-structures/event-service/AbstractEventService.mjs";
87
+ import { Utxo as wa } from "./data-structures/utxo/Utxo.mjs";
88
+ import { customTokenRegistry as Ba } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
89
+ import { TokenChecker as _a } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
90
+ import { TransactionsManager as Na } from "./data-structures/transactions-manager/TransactionsManager.mjs";
91
+ import { TransactionType as Va, externalActionToTransactionType as Wa } from "./data-structures/transactions-manager/history/history.types.mjs";
92
+ import { VolatileHelper as Ga } from "./data-structures/volatile-helper/VolatileHelper.mjs";
93
+ import { MultiThreadedUtxoUtils as Ya, multiThreadedUtxoUtils as za } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
94
+ import { FeeOverTransactionValueError as qa } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
95
+ import { getGenericFeeOverTransactionValueErrorMessage as ja, rethrowKnownGasErrorIfPossible as Xa } from "./error-handling/customErrors/customErrors.helpers.mjs";
96
+ import { UserFriendlyErrorCodes as $a, transactionErrorCodes as ei } from "./error-handling/error-codes.constants.mjs";
97
+ import { extractMessage as oi, getErrorMessage as ti } from "./error-handling/get-error.message.mjs";
98
+ import { checkErrorForSnapshotRestore as ii } from "./error-handling/handleErrorRestore.mjs";
99
+ import { logError as ni } from "./error-handling/logError.mjs";
100
+ import { ErrorCategory as mi } from "./error-handling/types.mjs";
101
+ import { abi as fi } from "./externalABIs/amToken.mjs";
102
+ import { abi as di } from "./externalABIs/BeefyVaultAbi.json.mjs";
103
+ import { abi as gi } from "./externalABIs/BUSD.mjs";
104
+ import { abi as Ai } from "./externalABIs/CurveReadingWrapperAbi.json.mjs";
105
+ import { abi as Ri } from "./externalABIs/CurveWrappedMainPool.json.mjs";
106
+ import { abi as Pi } from "./externalABIs/DAI.mjs";
107
+ import { abi as Si } from "./externalABIs/ERC20.json.mjs";
108
+ import { abi as Ci } from "./externalABIs/IQuoterV2.json.mjs";
109
+ import { abi as hi } from "./externalABIs/IUniswapV3Factory.json.mjs";
110
+ import { abi as Di } from "./externalABIs/SanctionsList.mjs";
111
+ import { abi as Li } from "./externalABIs/USDC.mjs";
112
+ import { abi as Ui } from "./externalABIs/USDR.mjs";
113
+ import { abi as Fi } from "./externalABIs/USDR3CRV.mjs";
114
+ import { abi as Mi } from "./externalABIs/USDT.mjs";
115
+ import { abi as Oi } from "./externalABIs/WETH.mjs";
116
+ import { abi as Wi } from "./externalABIs/ISwapRouter.json.mjs";
117
+ import { default as Gi } from "./externalABIs/LidoStEthAbi.json.mjs";
118
+ import { default as Yi } from "./externalABIs/LidoStMaticAbi.json.mjs";
119
+ import { default as Zi } from "./externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs";
120
+ import { default as Qi } from "./externalABIs/PoLidoNftAbi.json.mjs";
121
+ import { default as Xi } from "./externalABIs/LidoWstEthAbi.json.mjs";
122
+ import { default as $i } from "./externalABIs/LidoStakeManagerAbi.json.mjs";
123
+ import { abi as rs } from "./externalABIs/transactionsProver.json.mjs";
124
+ import { abi as ts } from "./externalABIs/BabPassport.json.mjs";
125
+ import { abi as is } from "./externalABIs/GalxePassport.json.mjs";
126
+ import { default as ns } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
127
+ import { checkHinkalAccessToken as ms, mintAccessToken as ls, mintTokenCrossChain as fs } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
128
+ import { openPassportWindow as ds } from "./functions/kyc/passportHelper.mjs";
129
+ import { openDefaultPassportWindow as gs } from "./functions/kyc/openDefaultPassportWindow.mjs";
130
+ import { absBigInt as As, beepsToPercentage as ys, bigintApplySugar as Rs, bigintMax as Ts, calculateAmountUsingBeeps as Ps, calculateSum as ks, fixDecimalsAmount as Ss, getValueFirstNDigit as Is, minBigInt as Cs, toBigInt as Es, toBigIntOrUndefined as hs, toCommaSeparatedNumberString as bs, toInt as Ds, toNumberOrUndefined as vs, trimLeadingZeros as Ls, truncateTo18DecimalPlaces as ws } from "./functions/utils/amounts.utils.mjs";
131
+ import { getHinkalCache as Bs, loadTxsCache as Fs, resetCache as _s, saveTxsCache as Ms, setHinkalCache as Ns } from "./functions/utils/cacheFunctions.mjs";
132
+ import { createProvider as Vs } from "./functions/utils/create-provider.mjs";
133
+ import { decodeMetadata as Hs, getActionFromMetadata as Gs, getExternalActionIdFromNumber as Ks, getExternalActionIdHash as Ys, getExternalMetadataHash as zs } from "./functions/utils/external-action.utils.mjs";
134
+ import { getERC20Token as qs, getERC20TokenBySymbol as Qs, getHToken as js } from "./functions/utils/erc20tokenFunctions.mjs";
135
+ import { requireEnv as Js } from "./functions/utils/requireEnv.mjs";
136
+ import { getSequence as en, resolveSync as rn } from "./functions/utils/resolve-sync.utils.mjs";
137
+ import { convertIntegrationProviderToExternalActionId as tn } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
138
+ import { getInteractionFromAction as sn } from "./functions/pre-transaction/interaction-to-action.mjs";
139
+ import { outputUtxoProcessing as pn } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
140
+ import { processGasEstimates as ln } from "./functions/pre-transaction/process-gas-estimates.mjs";
141
+ import { processAmountChanges as cn } from "./functions/pre-transaction/processAmountChanges.mjs";
142
+ import { getFlatFees as xn } from "./functions/pre-transaction/getFlatFees.mjs";
143
+ import { getNetworkObject as un, getNetworkType as An } from "./functions/utils/evmNetworkFunctions.mjs";
144
+ import { getAxelarMigrationInfo as Rn } from "./functions/utils/axelar.utils.mjs";
145
+ import { browserSupported as Pn, walletSupported as kn } from "./functions/utils/userAgent.mjs";
146
+ import { decodeTxInput as In, decodeTxLogs as Cn, deserializeDecodedTxs as En, serializeDecodedTxs as hn } from "./functions/utils/getDataFromTransaction.mjs";
147
+ import { reloadPage as Dn } from "./functions/utils/reloadPage.mjs";
148
+ import { capitalizeFirstLetter as Ln, isNullOrEmpty as wn, toTitleCase as Un } from "./functions/utils/string.utils.mjs";
149
+ import { isNicknameValid as Fn } from "./functions/utils/nickname.utils.mjs";
150
+ import { caseInsensitiveEqual as Mn, lowerCaseIncludes as Nn, lowerCaseStartsWith as On } from "./functions/utils/caseInsensitive.utils.mjs";
151
+ import { waitLittle as Wn } from "./functions/utils/time.utils.mjs";
152
+ import { patchRegistry as Gn } from "./functions/utils/volatile-patcher.utils.mjs";
153
+ import { Buffer as Yn, ProcessPolyfill as zn } from "./functions/utils/polyfills.mjs";
154
+ import { calculateDollarValue as qn, ethToWei as Qn, getAmountInToken as jn, getAmountInWei as Xn, getAmountInWeiOrZero as Jn, getAmountWithPrecision as $n, getAmountWithPrecisionOrZero as ep, randomBigInt as rp, toBigIntWithDecimals as op } from "./functions/web3/etherFunctions.mjs";
155
+ import { getInputUtxoAndBalance as ap, getInputUtxosFromEncryptedOutputs as ip } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
156
+ import { addPaddingToUtxos as np, getShieldedBalance as pp } from "./functions/web3/events/getShieldedBalance.mjs";
157
+ import { getDepositEvents as lp, retrieveEvents as fp } from "./functions/web3/events/web3RetrieveEvents.mjs";
158
+ import { balanceChangedHandler as dp } from "./functions/web3/events/balanceChangedHandler.mjs";
159
+ import { getUniswapFee as gp, getUniswapPrice as up, getUniswapPriceHelper as Ap, searchPoolAndFee as yp } from "./functions/web3/uniswapAPI.mjs";
160
+ import { getOdosPrice as Tp } from "./functions/web3/odosAPI.mjs";
161
+ import { getOneInchPrice as kp } from "./functions/web3/oneInchAPI.mjs";
162
+ import { runContractFunction as Ip } from "./functions/web3/runContractFunction.mjs";
163
+ import { constructZkProof as Ep } from "./functions/snarkjs/constructGeneralZkProof.mjs";
164
+ import { constructEmporiumProof as bp } from "./functions/snarkjs/constructEmporiumProof.mjs";
165
+ import { buildInNullifiers as vp, buildOutCommitments as Lp, calcAccessTokenSiblingsAndSides as wp, calcAmountChanges as Up, calcCommitmentsSiblingAndSides as Bp, calcEncryptedOutputs as Fp, calcPublicSignalCount as _p, calcStealthAddressStructure as Mp, createCallDataHash as Np, deserializeCircomData as Op, serializeCircomData as Vp } from "./functions/snarkjs/common.snarkjs.mjs";
166
+ import { generateZkProof as Hp } from "./functions/snarkjs/generateZkProof.mjs";
167
+ import { getCRV as Kp } from "./functions/protocols/curve.protocols.mjs";
168
+ import { getCVX as zp } from "./functions/protocols/convex.protocols.mjs";
169
+ import { determinePendleSwapType as qp, determinePendleSwapTypeApiRoute as Qp, erc20TokenFromPendleAsset as jp, getAssetTypeFromPendleMarket as Xp, getTokenIndexForPendleFlatFee as Jp } from "./functions/protocols/pendle.helpers.mjs";
170
+ import { calculateStakeNullifier as em, createStakeCommitment as rm, decryptStake as om, encodeHStakeMetadata as tm, encryptStake as am } from "./functions/staking/index.mjs";
171
+ import { emporiumOp as sm, encodeEmporiumMetadata as nm } from "./functions/private-wallet/emporium.helpers.mjs";
172
+ import { OpType as mm, produceOp as lm } from "./functions/private-wallet/opProducer.mjs";
173
+ import { dataBeefyApiConfig as cm, isBeefyDeposit as dm } from "./types/beefy.types.mjs";
174
+ import { defaultHookData as gm, defaultHookDataArray as um, defaultStealthAddressStructure as Am, emptyStealthAddressStructure as ym } from "./types/circom-data.types.mjs";
175
+ import { ContractType as Tm } from "./types/ethereum-network.types.mjs";
176
+ import { ExternalActionId as km } from "./types/external-action.types.mjs";
177
+ import { BeefyAction as Im, ConvexAction as Cm, CurveAction as Em, EventType as hm, INTERACTION as bm, IntegrationProvider as Dm, LidoAction as vm, LidoVariant as Lm, PendleAction as wm, PendleLPAction as Um, StakeProvider as Bm, VolatileAction as Fm } from "./types/hinkal.types.mjs";
178
+ import { KycVerificationResult as Mm, KycVerificationStatus as Nm, Passports as Om, VERIFICATION_TYPE as Vm, VerificationTypes as Wm } from "./types/kyc.types.mjs";
179
+ import { ApprovalType as Gm } from "./types/token.types.mjs";
180
+ import { SlippageType as Ym, slippageLevels as zm } from "./types/slippage.types.mjs";
181
+ import { emptyDecodedTx as qm } from "./types/transactions.types.mjs";
182
+ import { MONTHS as jm, dayInMilliseconds as Xm, divideMonthOnIntervals as Jm, getCurrentWeek as $m, getDateFromWeek as el, getNextDay as rl, getWeekTimestamps as ol, hasCertificationPeriodExpired as tl, hourInMilliseconds as al, isWeekCurrent as il, minuteInMilliseconds as sl, parseWeek as nl, secondInMilliseconds as pl, toDateString as ml, weekInMilliseconds as ll } from "./types/time.types.mjs";
183
+ import { BonusType as cl, CertifyType as dl, LP_TIER as xl, PaymentStatus as gl, PointType as ul, RafflePrizeType as Al, RewardPage as yl, RewardsHistoryDistribution as Rl, RewardsHistoryEligibility as Tl, RewardsHistorySnapshots as Pl, RewardsHistoryStatuses as kl, RewardsPageTabs as Sl, TIER_LEVEL as Il, Timeline as Cl, emptyUserPointsBreakdown as El, emptyUserPointsResponse as hl } from "./types/rewards.types.mjs";
184
+ import { PendleAssetType as Dl, PendleChains as vl, PendleDashboardTabs as Ll, PendleEarnTabs as wl, PendleMarketTransactionTypes as Ul, PendlePoolManualTabs as Bl, PendlePoolTabs as Fl, PendlePoolZapTabs as _l, PendleSwapType as Ml, PendleTabs as Nl, PendleTradeGeneralTabs as Ol, PendleTradeTabs as Vl } from "./types/pendle.types.mjs";
185
+ import { StatType as Hl, UpperTabPossibleValues as Gl, curveNetworkNames as Kl, curvePools as Yl } from "./types/curve.types.mjs";
186
+ import { HinkalStakeMode as Zl } from "./types/hinkal.stake.types.mjs";
189
187
  export {
190
- et as ACCESS_TOKEN_MINTING_POINTS,
191
- Cr as AIPRISE_KYB_TEMPLATE_ID_PROD,
192
- Er as AIPRISE_KYC_TEMPLATE_ID_PROD,
193
- v as API,
194
- wr as API_CONFIG,
195
- Ia as AbstractAccessTokenSnapshotService,
196
- Ea as AbstractCommitmentsSnapshotService,
197
- wa as AbstractEventService,
198
- ba as AbstractNullifierSnapshotService,
199
- va as AbstractSnapshotService,
200
- ci as AmTokenABI,
201
- Ym as ApprovalType,
202
- bo as AxelarRegistry,
203
- Ai as BUSDABI,
204
- is as BabABI,
205
- Em as BeefyAction,
206
- gi as BeefyVaultABI,
207
- xl as BonusType,
208
- Zn as Buffer,
209
- rt as CERTIFICATION_DISABLE_WEEK,
210
- oo as CIRCOM_P,
211
- to as CIRCOM_P_HALF,
212
- yo as COINGECKO_API_KEY,
213
- gl as CertifyType,
214
- Ro as CoinGeckoChainLabels,
215
- km as ContractType,
216
- hm as ConvexAction,
217
- bm as CurveAction,
218
- Ri as CurveReadingWrapperABI,
219
- Pi as CurveWrappedMainPoolABI,
220
- Ur as DATA_SERVER_CONFIG,
221
- Br as DATA_SERVER_PORT,
222
- Fr as DATA_SERVER_URL_LOCAL,
223
- _r as DATA_SERVER_URL_PRODUCTION,
224
- Zr as DEPLOYMENT_MODE,
225
- Ci as ERC20ABI,
226
- Yt as EncryptionKeyPairDefaultValue,
227
- fi as ErrorCategory,
228
- Qe as EthereumNetworkType,
229
- Dm as EventType,
230
- Im as ExternalActionId,
231
- ja as FeeOverTransactionValueError,
232
- ns as GalxeABI,
233
- nr as HINKAL_EXTERNAL_ACTION_FEE,
234
- pr as HINKAL_UNIVERSAL_FEE,
235
- Xt as Hinkal,
236
- Ql as HinkalStakeMode,
237
- H as IMAGE_PATHS,
238
- vm as INTERACTION,
239
- Gi as ISwapRouterABI,
240
- Lm as IntegrationProvider,
241
- Om as KycVerificationResult,
242
- Vm as KycVerificationStatus,
243
- ul as LP_TIER,
244
- wm as LidoAction,
245
- Um as LidoVariant,
246
- Jm as MONTHS,
247
- Ta as MerkleTree,
248
- ka as MerkleTreeIncompleteError,
249
- Za as MultiThreadedUtxoUtils,
250
- vo as NETWORKS,
251
- fm as OpType,
252
- Mr as PLAYGROUND_RELAYER_URLS,
253
- Nr as PLAYGROUND_SERVER_URLS,
254
- Or as PLAYGROUND_URL,
255
- Wm as Passports,
256
- Al as PaymentStatus,
257
- Bm as PendleAction,
258
- Ll as PendleAssetType,
259
- wl as PendleChains,
260
- Ul as PendleDashboardTabs,
261
- Bl as PendleEarnTabs,
262
- Fm as PendleLPAction,
263
- Fl as PendleMarketTransactionTypes,
264
- _l as PendlePoolManualTabs,
265
- Ml as PendlePoolTabs,
266
- Nl as PendlePoolZapTabs,
267
- Ol as PendleSwapType,
268
- Vl as PendleTabs,
269
- Wl as PendleTradeGeneralTabs,
270
- Hl as PendleTradeTabs,
271
- yl as PointType,
272
- Ie as PopularTokenSymbols,
273
- qn as ProcessPolyfill,
274
- Vr as RELAYER_CONFIG,
275
- Wr as RELAYER_URLS,
276
- ot as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
277
- tt as RafflePrizePoints,
278
- Rl as RafflePrizeType,
279
- Tl as RewardPage,
280
- Pl as RewardsHistoryDistribution,
281
- kl as RewardsHistoryEligibility,
282
- Sl as RewardsHistorySnapshots,
283
- Il as RewardsHistoryStatuses,
284
- Cl as RewardsPageTabs,
285
- Hr as SERVER_URLS,
286
- Gr as STAGING_RELAYER_URLS,
287
- Kr as STAGING_SERVER_URLS,
288
- Yr as STAGING_URL,
289
- Zm as SlippageType,
290
- _m as StakeProvider,
291
- Kl as StatType,
292
- hr as SupportedPassports,
293
- El as TIER_LEVEL,
294
- hl as Timeline,
295
- Na as TokenChecker,
296
- Ha as TransactionType,
297
- Va as TransactionsManager,
298
- Ui as USDCABI,
299
- Mi as USDR3CRVABI,
300
- Fi as USDRABI,
301
- Oi as USDTABI,
302
- Yl as UpperTabPossibleValues,
303
- ri as UserFriendlyErrorCodes,
304
- zt as UserKeys,
305
- Ba as Utxo,
306
- Hm as VERIFICATION_TYPE,
307
- Bt as ValueCache,
308
- Gm as VerificationTypes,
309
- Mm as VolatileAction,
310
- Ya as VolatileHelper,
311
- Wi as WETHABI,
312
- _t as abiDecodeUtxo,
313
- Rs as absBigInt,
314
- mp as addPaddingToUtxos,
315
- br as aipriseBaseOnboardingProductionUrl,
316
- Dr as aipriseBaseOnboardingSandboxUrl,
317
- Uo as arbMainnetCrvCvxRegistry,
318
- Le as arbMainnetData,
319
- le as arbMainnetRegistry,
320
- j as arbMainnetRegistryFixed,
321
- ut as arbPendleRegistry,
322
- Bo as avalancheCrvCvxRegistry,
323
- Oe as avalancheData,
324
- ue as avalancheRegistry,
325
- oe as avalancheRegistryFixed,
326
- Ye as axelar1Data,
327
- Ze as axelar2Data,
328
- Dt as babyJubInstance,
329
- gp as balanceChangedHandler,
330
- Fo as baseCrvCvxRegistry,
331
- We as baseData,
332
- Te as baseRegistry,
333
- se as baseRegistryFixed,
334
- ao as beefyChainIds,
335
- Ts as beepsToPercentage,
336
- Ps as bigintApplySugar,
337
- ks as bigintMax,
338
- ft as blockReorgDepth,
339
- De as bnbMainnetData,
340
- de as bnbMainnetRegistry,
341
- J as bnbMainnetRegistryFixed,
342
- At as bnbPendleRegistry,
343
- at as boostAmounts,
344
- Sn as browserSupported,
345
- wp as buildInNullifiers,
346
- Up as buildOutCommitments,
347
- Bp as calcAccessTokenSiblingsAndSides,
348
- Fp as calcAmountChanges,
349
- _p as calcCommitmentsSiblingAndSides,
350
- Mp as calcEncryptedOutputs,
351
- Np as calcPublicSignalCount,
352
- Op as calcStealthAddressStructure,
353
- Ss as calculateAmountUsingBeeps,
354
- jn as calculateDollarValue,
355
- om as calculateStakeNullifier,
356
- Is as calculateSum,
357
- d as callOneInchAPI,
358
- u as callRelayerTransactAPI,
359
- Un as capitalizeFirstLetter,
360
- On as caseInsensitiveEqual,
361
- je as chainIds,
362
- Xe as chainIdsByType,
363
- ni as checkErrorForSnapshotRestore,
364
- fs as checkHinkalAccessToken,
365
- E as checkRisk,
366
- Mt as checkUtxoSignature,
367
- To as coingeckoPriceUrl,
368
- Po as coingeckoPriceUrl2,
369
- ko as coingeckoTokenListUrl,
370
- vp as constructEmporiumProof,
371
- bp as constructZkProof,
372
- yr as contractMetadataMapping,
373
- sn as convertIntegrationProviderToExternalActionId,
374
- Vp as createCallDataHash,
375
- Hs as createProvider,
376
- tm as createStakeCommitment,
377
- Je as crossChainAccessTokenNetworks,
378
- io as crvSymbol,
379
- zl as curveNetworkNames,
380
- Zl as curvePools,
381
- so as curveWithdrawGasTokenAddress,
382
- no as curveZeroAddress,
383
- _a as customTokenRegistry,
384
- po as cvxSymbol,
385
- Si as daiABI,
386
- xm as dataBeefyApiConfig,
387
- $m as dayInMilliseconds,
388
- Ks as decodeMetadata,
389
- En as decodeTxInput,
390
- hn as decodeTxLogs,
391
- Nt as decodeUtxo,
392
- Ot as decodeUtxoConstructorArgs,
393
- am as decryptStake,
394
- Wt as decryptUtxo,
395
- Ht as decryptUtxoConstructorArgs,
396
- Am as defaultHookData,
397
- ym as defaultHookDataArray,
398
- Rm as defaultStealthAddressStructure,
399
- qr as deploymentMode,
400
- Wp as deserializeCircomData,
401
- bn as deserializeDecodedTxs,
402
- jp as determinePendleSwapType,
403
- Xp as determinePendleSwapTypeApiRoute,
404
- el as divideMonthOnIntervals,
405
- pm as emporiumOp,
406
- jm as emptyDecodedTx,
407
- Tm as emptyStealthAddressStructure,
408
- bl as emptyUserPointsBreakdown,
409
- Dl as emptyUserPointsResponse,
410
- mm as encodeEmporiumMetadata,
411
- im as encodeHStakeMetadata,
412
- sm as encryptStake,
413
- Gt as encryptUtxo,
414
- Jp as erc20TokenFromPendleAsset,
415
- ct as ethBeefyRegistry,
416
- _o as ethCrvCvxRegistry,
417
- Ue as ethMainnetData,
418
- pe as ethMainnetRegistry,
419
- q as ethMainnetRegistryFixed,
420
- yt as ethPendleRegistry,
421
- Go as ethSymbol,
422
- Xn as ethToWei,
423
- mo as ethVolatileAddress,
424
- Ga as externalActionToTransactionType,
425
- ai as extractMessage,
426
- Di as factoryABI,
427
- Rt as findSyAddress,
428
- Cs as fixDecimalsAmount,
429
- Kp as generateZkProof,
430
- Ys as getActionFromMetadata,
431
- mr as getAmountAfterRelayAndFlatFees,
432
- lr as getAmountAfterRelayAndFlatFeesAndSlippage,
433
- fr as getAmountAfterRelayFee,
434
- dr as getAmountAfterSlippage,
435
- Jn as getAmountInToken,
436
- $n as getAmountInWei,
437
- ep as getAmountInWeiOrZero,
438
- rp as getAmountWithPrecision,
439
- op as getAmountWithPrecisionOrZero,
440
- cr as getAmountWithoutFee,
441
- $p as getAssetTypeFromPendleMarket,
442
- y as getAxelarGasEstimate,
443
- Pn as getAxelarMigrationInfo,
444
- x as getBeefyHistoricalChartData,
445
- xt as getBeefyRegistryWithChainId,
446
- zp as getCRV,
447
- qp as getCVX,
448
- Wo as getCalcTokenAmountWithDynamicArray,
449
- qt as getCircomSign,
450
- So as getCoingeckoIdForNativeTokens,
451
- Io as getCoingeckoPlatform,
452
- n as getCoingeckoPrice,
453
- p as getCoingeckoPrice2,
454
- m as getCoingeckoPrices,
455
- l as getCoingeckoTokenList,
456
- Mo as getCrvCvxWithChainId,
457
- rl as getCurrentWeek,
458
- w as getCurvePools,
459
- U as getCurvePoolsforPriceFetching,
460
- a as getDataServerURL,
461
- ol as getDateFromWeek,
462
- dp as getDepositEvents,
463
- Ee as getERC20Registry,
464
- js as getERC20Token,
465
- Xs as getERC20TokenBySymbol,
466
- ii as getErrorMessage,
467
- B as getExtendedPoolInfo,
468
- zs as getExternalActionIdFromNumber,
469
- Zs as getExternalActionIdHash,
470
- qs as getExternalMetadataHash,
471
- he as getFixedRegistry,
472
- un as getFlatFees,
473
- T as getGasEstimates,
474
- Lo as getGasStationUrl,
475
- Ja as getGenericFeeOverTransactionValueErrorMessage,
476
- Js as getHToken,
477
- _s as getHinkalCache,
478
- xr as getHinkalFeeRateInBeeps,
479
- Rr as getHinkalParameters,
480
- b as getIdleRelay,
481
- sp as getInputUtxoAndBalance,
482
- np as getInputUtxosFromEncryptedOutputs,
483
- pn as getInteractionFromAction,
484
- yn as getNetworkObject,
485
- Rn as getNetworkType,
486
- tl as getNextDay,
487
- $e as getNonLocalhostChainId,
488
- kp as getOdosPrice,
489
- Ip as getOneInchPrice,
490
- Tt as getPendleRegistryWithChainId,
491
- V as getPublicWalletBalance,
492
- gr as getRelayFee,
493
- N as getRelayerURL,
494
- on as getSequence,
495
- i as getServerURL,
496
- lp as getShieldedBalance,
497
- ur as getSlippageFee,
498
- em as getTokenIndexForPendleFlatFee,
499
- k as getTokenPrice,
500
- S as getTokenPriceEth,
501
- I as getTokenPrices,
502
- Ap as getUniswapFee,
503
- yp as getUniswapPrice,
504
- Rp as getUniswapPriceHelper,
505
- Es as getValueFirstNDigit,
506
- al as getWeekTimestamps,
507
- Pt as getYtTokensWithChainId,
508
- il as hasCertificationPeriodExpired,
509
- $t as hinkalActionBeefy,
510
- ra as hinkalActionConvex,
511
- ta as hinkalActionCurve,
512
- ia as hinkalActionPendle,
513
- na as hinkalDeposit,
514
- pa as hinkalDepositForOther,
515
- ua as hinkalPrivateWallet,
516
- la as hinkalSwap,
517
- da as hinkalTransfer,
518
- xa as hinkalWithdraw,
519
- sl as hourInMilliseconds,
520
- gm as isBeefyDeposit,
521
- Qt as isCircomNegative,
522
- Qr as isDevelopment,
523
- er as isLocalNetwork,
524
- Mn as isNicknameValid,
525
- jr as isNode,
526
- Xr as isNotProduction,
527
- Bn as isNullOrEmpty,
528
- rr as isOptimismBedrockLike,
529
- or as isOptimismEcotoneLike,
530
- tr as isOptimismLike,
531
- Jr as isPlayground,
532
- $r as isStaging,
533
- eo as isWebpack,
534
- nl as isWeekCurrent,
535
- kt as isYtToken,
536
- vt as jubHolder,
537
- Yi as lidoStEthAbi,
538
- Ko as lidoStEthContractAddress,
539
- Zi as lidoStMaticAbi,
540
- Yo as lidoStMaticAddress,
541
- rs as lidoStakeManagerAbi,
542
- zo as lidoStakeManagerAddress,
543
- Qi as lidoWithdrawalQueueERC721Abi,
544
- Zo as lidoWithdrawalQueueERC721Address,
545
- $i as lidoWstEthAbi,
546
- qo as lidoWstEthContractAddress,
547
- Ms as loadTxsCache,
548
- Ge as localhostData,
549
- ar as localhostNetwork,
550
- ke as localhostRegistry,
551
- mi as logError,
552
- Vn as lowerCaseIncludes,
553
- Wn as lowerCaseStartsWith,
554
- it as lpLink,
555
- st as lpProgramStartWeek,
556
- F as lpTokens,
557
- _ as lpTokensToBasePool,
558
- Qo as maticSymbol,
559
- hs as minBigInt,
560
- ds as mintAccessToken,
561
- cs as mintTokenCrossChain,
562
- pl as minuteInMilliseconds,
563
- qa as multiThreadedUtxoUtils,
564
- ir as networkRegistry,
565
- lo as oneInchZeroAddress,
566
- As as openDefaultPassportWindow,
567
- gs as openPassportWindow,
568
- No as optimismCrvCvxRegistry,
569
- Fe as optimismData,
570
- ms as optimismGasPriceOracleAbi,
571
- St as optimismPendleRegistry,
572
- ye as optimismRegistry,
573
- ae as optimismRegistryFixed,
574
- ln as outputUtxoProcessing,
575
- fo as ownerPublicKey,
576
- ml as parseWeek,
577
- Yn as patchRegistry,
578
- co as permitSignatureValidFor,
579
- Xi as poLidoNftAbi,
580
- jo as poLidoNftAddress,
581
- nt as pointsLink,
582
- Oo as polygonCrvCvxRegistry,
583
- Me as polygonData,
584
- xe as polygonRegistry,
585
- ee as polygonRegistryFixed,
586
- Ct as poseidonFunction,
587
- Et as poseidonHash,
588
- ht as poseidonHolder,
589
- wt as preProcessing,
590
- Co as proCoingeckoUrl,
591
- Eo as proHeader,
592
- xn as processAmountChanges,
593
- dn as processGasEstimates,
594
- dm as produceOp,
595
- hi as quoterV2ABI,
596
- pt as raffleProgramStartWeek,
597
- tp as randomBigInt,
598
- mt as referralLink,
599
- Ln as reloadPage,
600
- en as requireEnv,
601
- Ns as resetCache,
602
- ya as resetMerkleTrees,
603
- tn as resolveSync,
604
- $a as rethrowKnownGasErrorIfPossible,
605
- cp as retrieveEvents,
606
- Ep as runContractFunction,
607
- Li as sanctionsListABI,
608
- Os as saveTxsCache,
609
- Tp as searchPoolAndFee,
610
- ll as secondInMilliseconds,
611
- Hp as serializeCircomData,
612
- Dn as serializeDecodedTxs,
613
- Vs as setHinkalCache,
614
- xo as signaturePhrase,
615
- qm as slippageLevels,
616
- Xo as stMaticSymbol,
617
- vr as supportedPassportLinks,
618
- go as threePoolSymbol,
619
- bs as toBigInt,
620
- Ds as toBigIntOrUndefined,
621
- ap as toBigIntWithDecimals,
622
- vs as toCommaSeparatedNumberString,
623
- fl as toDateString,
624
- Ls as toInt,
625
- ws as toNumberOrUndefined,
626
- Fn as toTitleCase,
627
- oi as transactionErrorCodes,
628
- ts as transactionProverABI,
629
- Us as trimLeadingZeros,
630
- Bs as truncateTo18DecimalPlaces,
631
- Tr as uniswapV2PoolData,
632
- Pr as uniswapV3FactoryData,
633
- kr as uniswapV3PoolData,
634
- Sr as uniswapV3QuoterData,
635
- K as urlForBeefyVaultTokens,
636
- Y as urlForBeefyVaultTotalInUSD,
637
- z as urlForRegularTokenPricesInBeefy,
638
- Gn as waitLittle,
639
- In as walletSupported,
640
- dl as weekInMilliseconds,
641
- Jo as wstEthSymbol,
642
- uo as zeroAddress
188
+ Jo as ACCESS_TOKEN_MINTING_POINTS,
189
+ Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
190
+ Ir as AIPRISE_KYC_TEMPLATE_ID_PROD,
191
+ b as API,
192
+ vr as API_CONFIG,
193
+ ka as AbstractAccessTokenSnapshotService,
194
+ Ia as AbstractCommitmentsSnapshotService,
195
+ va as AbstractEventService,
196
+ Ea as AbstractNullifierSnapshotService,
197
+ ba as AbstractSnapshotService,
198
+ fi as AmTokenABI,
199
+ Gm as ApprovalType,
200
+ Eo as AxelarRegistry,
201
+ gi as BUSDABI,
202
+ ts as BabABI,
203
+ Im as BeefyAction,
204
+ di as BeefyVaultABI,
205
+ cl as BonusType,
206
+ Yn as Buffer,
207
+ $o as CERTIFICATION_DISABLE_WEEK,
208
+ eo as CIRCOM_P,
209
+ ro as CIRCOM_P_HALF,
210
+ uo as COINGECKO_API_KEY,
211
+ dl as CertifyType,
212
+ Ao as CoinGeckoChainLabels,
213
+ Tm as ContractType,
214
+ Cm as ConvexAction,
215
+ Em as CurveAction,
216
+ Ai as CurveReadingWrapperABI,
217
+ Ri as CurveWrappedMainPoolABI,
218
+ Lr as DATA_SERVER_CONFIG,
219
+ wr as DATA_SERVER_PORT,
220
+ Ur as DATA_SERVER_URL_LOCAL,
221
+ Br as DATA_SERVER_URL_PRODUCTION,
222
+ Yr as DEPLOYMENT_MODE,
223
+ Si as ERC20ABI,
224
+ Gt as EncryptionKeyPairDefaultValue,
225
+ mi as ErrorCategory,
226
+ Ze as EthereumNetworkType,
227
+ hm as EventType,
228
+ km as ExternalActionId,
229
+ qa as FeeOverTransactionValueError,
230
+ is as GalxeABI,
231
+ ir as HINKAL_EXTERNAL_ACTION_FEE,
232
+ sr as HINKAL_UNIVERSAL_FEE,
233
+ Qt as Hinkal,
234
+ Zl as HinkalStakeMode,
235
+ V as IMAGE_PATHS,
236
+ bm as INTERACTION,
237
+ Wi as ISwapRouterABI,
238
+ Dm as IntegrationProvider,
239
+ Mm as KycVerificationResult,
240
+ Nm as KycVerificationStatus,
241
+ xl as LP_TIER,
242
+ vm as LidoAction,
243
+ Lm as LidoVariant,
244
+ jm as MONTHS,
245
+ ya as MerkleTree,
246
+ Ta as MerkleTreeIncompleteError,
247
+ Ya as MultiThreadedUtxoUtils,
248
+ bo as NETWORKS,
249
+ mm as OpType,
250
+ Fr as PLAYGROUND_RELAYER_URLS,
251
+ _r as PLAYGROUND_SERVER_URLS,
252
+ Mr as PLAYGROUND_URL,
253
+ Om as Passports,
254
+ gl as PaymentStatus,
255
+ wm as PendleAction,
256
+ Dl as PendleAssetType,
257
+ vl as PendleChains,
258
+ Ll as PendleDashboardTabs,
259
+ wl as PendleEarnTabs,
260
+ Um as PendleLPAction,
261
+ Ul as PendleMarketTransactionTypes,
262
+ Bl as PendlePoolManualTabs,
263
+ Fl as PendlePoolTabs,
264
+ _l as PendlePoolZapTabs,
265
+ Ml as PendleSwapType,
266
+ Nl as PendleTabs,
267
+ Ol as PendleTradeGeneralTabs,
268
+ Vl as PendleTradeTabs,
269
+ ul as PointType,
270
+ ke as PopularTokenSymbols,
271
+ zn as ProcessPolyfill,
272
+ Nr as RELAYER_CONFIG,
273
+ Or as RELAYER_URLS,
274
+ et as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
275
+ rt as RafflePrizePoints,
276
+ Al as RafflePrizeType,
277
+ yl as RewardPage,
278
+ Rl as RewardsHistoryDistribution,
279
+ Tl as RewardsHistoryEligibility,
280
+ Pl as RewardsHistorySnapshots,
281
+ kl as RewardsHistoryStatuses,
282
+ Sl as RewardsPageTabs,
283
+ Vr as SERVER_URLS,
284
+ Wr as STAGING_RELAYER_URLS,
285
+ Hr as STAGING_SERVER_URLS,
286
+ Gr as STAGING_URL,
287
+ Ym as SlippageType,
288
+ Bm as StakeProvider,
289
+ Hl as StatType,
290
+ Cr as SupportedPassports,
291
+ Il as TIER_LEVEL,
292
+ Cl as Timeline,
293
+ _a as TokenChecker,
294
+ Va as TransactionType,
295
+ Na as TransactionsManager,
296
+ Li as USDCABI,
297
+ Fi as USDR3CRVABI,
298
+ Ui as USDRABI,
299
+ Mi as USDTABI,
300
+ Gl as UpperTabPossibleValues,
301
+ $a as UserFriendlyErrorCodes,
302
+ Kt as UserKeys,
303
+ wa as Utxo,
304
+ Vm as VERIFICATION_TYPE,
305
+ wt as ValueCache,
306
+ Wm as VerificationTypes,
307
+ Fm as VolatileAction,
308
+ Ga as VolatileHelper,
309
+ Oi as WETHABI,
310
+ Bt as abiDecodeUtxo,
311
+ As as absBigInt,
312
+ np as addPaddingToUtxos,
313
+ Er as aipriseBaseOnboardingProductionUrl,
314
+ hr as aipriseBaseOnboardingSandboxUrl,
315
+ Lo as arbMainnetCrvCvxRegistry,
316
+ De as arbMainnetData,
317
+ pe as arbMainnetRegistry,
318
+ q as arbMainnetRegistryFixed,
319
+ xt as arbPendleRegistry,
320
+ wo as avalancheCrvCvxRegistry,
321
+ Me as avalancheData,
322
+ xe as avalancheRegistry,
323
+ ee as avalancheRegistryFixed,
324
+ Ge as axelar1Data,
325
+ Ye as axelar2Data,
326
+ ht as babyJubInstance,
327
+ dp as balanceChangedHandler,
328
+ Uo as baseCrvCvxRegistry,
329
+ Oe as baseData,
330
+ ye as baseRegistry,
331
+ ae as baseRegistryFixed,
332
+ oo as beefyChainIds,
333
+ ys as beepsToPercentage,
334
+ Rs as bigintApplySugar,
335
+ Ts as bigintMax,
336
+ mt as blockReorgDepth,
337
+ he as bnbMainnetData,
338
+ le as bnbMainnetRegistry,
339
+ j as bnbMainnetRegistryFixed,
340
+ gt as bnbPendleRegistry,
341
+ ot as boostAmounts,
342
+ Pn as browserSupported,
343
+ vp as buildInNullifiers,
344
+ Lp as buildOutCommitments,
345
+ wp as calcAccessTokenSiblingsAndSides,
346
+ Up as calcAmountChanges,
347
+ Bp as calcCommitmentsSiblingAndSides,
348
+ Fp as calcEncryptedOutputs,
349
+ _p as calcPublicSignalCount,
350
+ Mp as calcStealthAddressStructure,
351
+ Ps as calculateAmountUsingBeeps,
352
+ qn as calculateDollarValue,
353
+ em as calculateStakeNullifier,
354
+ ks as calculateSum,
355
+ l as callOneInchAPI,
356
+ x as callRelayerTransactAPI,
357
+ Ln as capitalizeFirstLetter,
358
+ Mn as caseInsensitiveEqual,
359
+ qe as chainIds,
360
+ Qe as chainIdsByType,
361
+ ii as checkErrorForSnapshotRestore,
362
+ ms as checkHinkalAccessToken,
363
+ I as checkRisk,
364
+ Ft as checkUtxoSignature,
365
+ yo as coingeckoPriceUrl,
366
+ Ro as coingeckoPriceUrl2,
367
+ To as coingeckoTokenListUrl,
368
+ bp as constructEmporiumProof,
369
+ Ep as constructZkProof,
370
+ ur as contractMetadataMapping,
371
+ tn as convertIntegrationProviderToExternalActionId,
372
+ Np as createCallDataHash,
373
+ Vs as createProvider,
374
+ rm as createStakeCommitment,
375
+ je as crossChainAccessTokenNetworks,
376
+ to as crvSymbol,
377
+ Kl as curveNetworkNames,
378
+ Yl as curvePools,
379
+ ao as curveWithdrawGasTokenAddress,
380
+ io as curveZeroAddress,
381
+ Ba as customTokenRegistry,
382
+ so as cvxSymbol,
383
+ Pi as daiABI,
384
+ cm as dataBeefyApiConfig,
385
+ Xm as dayInMilliseconds,
386
+ Hs as decodeMetadata,
387
+ In as decodeTxInput,
388
+ Cn as decodeTxLogs,
389
+ _t as decodeUtxo,
390
+ Mt as decodeUtxoConstructorArgs,
391
+ om as decryptStake,
392
+ Ot as decryptUtxo,
393
+ Vt as decryptUtxoConstructorArgs,
394
+ gm as defaultHookData,
395
+ um as defaultHookDataArray,
396
+ Am as defaultStealthAddressStructure,
397
+ zr as deploymentMode,
398
+ Op as deserializeCircomData,
399
+ En as deserializeDecodedTxs,
400
+ qp as determinePendleSwapType,
401
+ Qp as determinePendleSwapTypeApiRoute,
402
+ Jm as divideMonthOnIntervals,
403
+ sm as emporiumOp,
404
+ qm as emptyDecodedTx,
405
+ ym as emptyStealthAddressStructure,
406
+ El as emptyUserPointsBreakdown,
407
+ hl as emptyUserPointsResponse,
408
+ nm as encodeEmporiumMetadata,
409
+ tm as encodeHStakeMetadata,
410
+ am as encryptStake,
411
+ Wt as encryptUtxo,
412
+ jp as erc20TokenFromPendleAsset,
413
+ ft as ethBeefyRegistry,
414
+ Bo as ethCrvCvxRegistry,
415
+ Le as ethMainnetData,
416
+ se as ethMainnetRegistry,
417
+ z as ethMainnetRegistryFixed,
418
+ ut as ethPendleRegistry,
419
+ Wo as ethSymbol,
420
+ Qn as ethToWei,
421
+ no as ethVolatileAddress,
422
+ Wa as externalActionToTransactionType,
423
+ oi as extractMessage,
424
+ hi as factoryABI,
425
+ At as findSyAddress,
426
+ Ss as fixDecimalsAmount,
427
+ Hp as generateZkProof,
428
+ Gs as getActionFromMetadata,
429
+ nr as getAmountAfterRelayAndFlatFees,
430
+ pr as getAmountAfterRelayAndFlatFeesAndSlippage,
431
+ mr as getAmountAfterRelayFee,
432
+ lr as getAmountAfterSlippage,
433
+ jn as getAmountInToken,
434
+ Xn as getAmountInWei,
435
+ Jn as getAmountInWeiOrZero,
436
+ $n as getAmountWithPrecision,
437
+ ep as getAmountWithPrecisionOrZero,
438
+ fr as getAmountWithoutFee,
439
+ Xp as getAssetTypeFromPendleMarket,
440
+ u as getAxelarGasEstimate,
441
+ Rn as getAxelarMigrationInfo,
442
+ c as getBeefyHistoricalChartData,
443
+ ct as getBeefyRegistryWithChainId,
444
+ Kp as getCRV,
445
+ zp as getCVX,
446
+ Oo as getCalcTokenAmountWithDynamicArray,
447
+ zt as getCircomSign,
448
+ Po as getCoingeckoIdForNativeTokens,
449
+ ko as getCoingeckoPlatform,
450
+ i as getCoingeckoPrice,
451
+ s as getCoingeckoPrice2,
452
+ n as getCoingeckoPrices,
453
+ p as getCoingeckoTokenList,
454
+ Fo as getCrvCvxWithChainId,
455
+ $m as getCurrentWeek,
456
+ v as getCurvePools,
457
+ L as getCurvePoolsforPriceFetching,
458
+ o as getDataServerURL,
459
+ el as getDateFromWeek,
460
+ lp as getDepositEvents,
461
+ Ie as getERC20Registry,
462
+ qs as getERC20Token,
463
+ Qs as getERC20TokenBySymbol,
464
+ ti as getErrorMessage,
465
+ w as getExtendedPoolInfo,
466
+ Ks as getExternalActionIdFromNumber,
467
+ Ys as getExternalActionIdHash,
468
+ zs as getExternalMetadataHash,
469
+ Ce as getFixedRegistry,
470
+ xn as getFlatFees,
471
+ y as getGasEstimates,
472
+ Do as getGasStationUrl,
473
+ ja as getGenericFeeOverTransactionValueErrorMessage,
474
+ js as getHToken,
475
+ Bs as getHinkalCache,
476
+ cr as getHinkalFeeRateInBeeps,
477
+ Ar as getHinkalParameters,
478
+ E as getIdleRelay,
479
+ ap as getInputUtxoAndBalance,
480
+ ip as getInputUtxosFromEncryptedOutputs,
481
+ sn as getInteractionFromAction,
482
+ un as getNetworkObject,
483
+ An as getNetworkType,
484
+ rl as getNextDay,
485
+ Xe as getNonLocalhostChainId,
486
+ Tp as getOdosPrice,
487
+ kp as getOneInchPrice,
488
+ yt as getPendleRegistryWithChainId,
489
+ N as getPublicWalletBalance,
490
+ dr as getRelayFee,
491
+ _ as getRelayerURL,
492
+ en as getSequence,
493
+ t as getServerURL,
494
+ pp as getShieldedBalance,
495
+ xr as getSlippageFee,
496
+ Jp as getTokenIndexForPendleFlatFee,
497
+ T as getTokenPrice,
498
+ P as getTokenPriceEth,
499
+ k as getTokenPrices,
500
+ gp as getUniswapFee,
501
+ up as getUniswapPrice,
502
+ Ap as getUniswapPriceHelper,
503
+ Is as getValueFirstNDigit,
504
+ ol as getWeekTimestamps,
505
+ Rt as getYtTokensWithChainId,
506
+ tl as hasCertificationPeriodExpired,
507
+ Xt as hinkalActionBeefy,
508
+ $t as hinkalActionConvex,
509
+ ra as hinkalActionCurve,
510
+ ta as hinkalActionPendle,
511
+ ia as hinkalDeposit,
512
+ sa as hinkalDepositForOther,
513
+ xa as hinkalPrivateWallet,
514
+ pa as hinkalSwap,
515
+ la as hinkalTransfer,
516
+ ca as hinkalWithdraw,
517
+ al as hourInMilliseconds,
518
+ dm as isBeefyDeposit,
519
+ Zt as isCircomNegative,
520
+ Zr as isDevelopment,
521
+ Je as isLocalNetwork,
522
+ Fn as isNicknameValid,
523
+ qr as isNode,
524
+ Qr as isNotProduction,
525
+ wn as isNullOrEmpty,
526
+ $e as isOptimismBedrockLike,
527
+ er as isOptimismEcotoneLike,
528
+ rr as isOptimismLike,
529
+ jr as isPlayground,
530
+ Xr as isStaging,
531
+ Jr as isWebpack,
532
+ il as isWeekCurrent,
533
+ Tt as isYtToken,
534
+ bt as jubHolder,
535
+ Gi as lidoStEthAbi,
536
+ Ho as lidoStEthContractAddress,
537
+ Yi as lidoStMaticAbi,
538
+ Go as lidoStMaticAddress,
539
+ $i as lidoStakeManagerAbi,
540
+ Ko as lidoStakeManagerAddress,
541
+ Zi as lidoWithdrawalQueueERC721Abi,
542
+ Yo as lidoWithdrawalQueueERC721Address,
543
+ Xi as lidoWstEthAbi,
544
+ zo as lidoWstEthContractAddress,
545
+ Fs as loadTxsCache,
546
+ We as localhostData,
547
+ or as localhostNetwork,
548
+ Te as localhostRegistry,
549
+ ni as logError,
550
+ Nn as lowerCaseIncludes,
551
+ On as lowerCaseStartsWith,
552
+ tt as lpLink,
553
+ at as lpProgramStartWeek,
554
+ U as lpTokens,
555
+ B as lpTokensToBasePool,
556
+ Zo as maticSymbol,
557
+ Cs as minBigInt,
558
+ ls as mintAccessToken,
559
+ fs as mintTokenCrossChain,
560
+ sl as minuteInMilliseconds,
561
+ za as multiThreadedUtxoUtils,
562
+ tr as networkRegistry,
563
+ po as oneInchZeroAddress,
564
+ gs as openDefaultPassportWindow,
565
+ ds as openPassportWindow,
566
+ _o as optimismCrvCvxRegistry,
567
+ Ue as optimismData,
568
+ ns as optimismGasPriceOracleAbi,
569
+ Pt as optimismPendleRegistry,
570
+ ue as optimismRegistry,
571
+ oe as optimismRegistryFixed,
572
+ pn as outputUtxoProcessing,
573
+ mo as ownerPublicKey,
574
+ nl as parseWeek,
575
+ Gn as patchRegistry,
576
+ lo as permitSignatureValidFor,
577
+ Qi as poLidoNftAbi,
578
+ qo as poLidoNftAddress,
579
+ it as pointsLink,
580
+ Mo as polygonCrvCvxRegistry,
581
+ Fe as polygonData,
582
+ ce as polygonRegistry,
583
+ J as polygonRegistryFixed,
584
+ St as poseidonFunction,
585
+ It as poseidonHash,
586
+ Ct as poseidonHolder,
587
+ vt as preProcessing,
588
+ So as proCoingeckoUrl,
589
+ Io as proHeader,
590
+ cn as processAmountChanges,
591
+ ln as processGasEstimates,
592
+ lm as produceOp,
593
+ Ci as quoterV2ABI,
594
+ st as raffleProgramStartWeek,
595
+ rp as randomBigInt,
596
+ nt as referralLink,
597
+ Dn as reloadPage,
598
+ Js as requireEnv,
599
+ _s as resetCache,
600
+ ua as resetMerkleTrees,
601
+ rn as resolveSync,
602
+ Xa as rethrowKnownGasErrorIfPossible,
603
+ fp as retrieveEvents,
604
+ Ip as runContractFunction,
605
+ Di as sanctionsListABI,
606
+ Ms as saveTxsCache,
607
+ yp as searchPoolAndFee,
608
+ pl as secondInMilliseconds,
609
+ Vp as serializeCircomData,
610
+ hn as serializeDecodedTxs,
611
+ Ns as setHinkalCache,
612
+ fo as signaturePhrase,
613
+ zm as slippageLevels,
614
+ Qo as stMaticSymbol,
615
+ br as supportedPassportLinks,
616
+ co as threePoolSymbol,
617
+ Es as toBigInt,
618
+ hs as toBigIntOrUndefined,
619
+ op as toBigIntWithDecimals,
620
+ bs as toCommaSeparatedNumberString,
621
+ ml as toDateString,
622
+ Ds as toInt,
623
+ vs as toNumberOrUndefined,
624
+ Un as toTitleCase,
625
+ ei as transactionErrorCodes,
626
+ rs as transactionProverABI,
627
+ Ls as trimLeadingZeros,
628
+ ws as truncateTo18DecimalPlaces,
629
+ yr as uniswapV2PoolData,
630
+ Rr as uniswapV3FactoryData,
631
+ Tr as uniswapV3PoolData,
632
+ Pr as uniswapV3QuoterData,
633
+ H as urlForBeefyVaultTokens,
634
+ G as urlForBeefyVaultTotalInUSD,
635
+ K as urlForRegularTokenPricesInBeefy,
636
+ Wn as waitLittle,
637
+ kn as walletSupported,
638
+ ll as weekInMilliseconds,
639
+ jo as wstEthSymbol,
640
+ xo as zeroAddress
643
641
  };