@hinkal/common 0.1.51 → 0.1.52

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