@hinkal/common 0.1.25 → 0.1.26

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 (53) hide show
  1. package/crypto/poseidon.cjs +1 -1
  2. package/crypto/poseidon.mjs +15 -15
  3. package/crypto/preProcessing.cjs +1 -1
  4. package/crypto/preProcessing.mjs +7 -5
  5. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  6. package/data-structures/Hinkal/Hinkal.mjs +4 -2
  7. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  8. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +4 -2
  9. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
  10. package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +4 -2
  11. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
  12. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +12 -10
  13. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  14. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +11 -9
  15. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  16. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +11 -9
  17. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  18. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +5 -3
  19. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  20. package/data-structures/transactions-manager/TransactionsManager.mjs +2 -3
  21. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  22. package/functions/pre-transaction/outputUtxoProcessing.mjs +6 -4
  23. package/functions/pre-transaction/processAmountChanges.cjs +1 -1
  24. package/functions/pre-transaction/processAmountChanges.mjs +11 -9
  25. package/functions/protocols/pendle.helpers.cjs +1 -1
  26. package/functions/protocols/pendle.helpers.mjs +13 -11
  27. package/functions/staking/index.cjs +1 -1
  28. package/functions/staking/index.mjs +23 -21
  29. package/functions/utils/index.d.ts +0 -1
  30. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  31. package/functions/web3/functionCalls/transactCallRelayer.mjs +1 -1
  32. package/functions/web3/odosAPI.cjs +1 -1
  33. package/functions/web3/odosAPI.mjs +11 -9
  34. package/functions/web3/oneInchAPI.cjs +1 -1
  35. package/functions/web3/oneInchAPI.mjs +9 -7
  36. package/functions/web3/runContractFunction.cjs +1 -1
  37. package/functions/web3/runContractFunction.mjs +20 -18
  38. package/functions/web3/uniswapAPI.cjs +1 -1
  39. package/functions/web3/uniswapAPI.mjs +4 -2
  40. package/index.cjs +1 -1
  41. package/index.mjs +202 -205
  42. package/package.json +1 -1
  43. package/providers/prepareEthersHinkal.cjs +1 -1
  44. package/providers/prepareEthersHinkal.mjs +1 -1
  45. package/providers/prepareWagmiv1Hinkal.cjs +1 -1
  46. package/providers/prepareWagmiv1Hinkal.mjs +1 -1
  47. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  48. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +2 -2
  49. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  50. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  51. package/functions/utils/polyfills.cjs +0 -1
  52. package/functions/utils/polyfills.d.ts +0 -219
  53. package/functions/utils/polyfills.mjs +0 -40
package/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import { getDataServerURL as o, getServerURL as t } from "./API/getServerURL.mjs";
2
2
  import { getCoingeckoPrice as i, getCoingeckoPrice2 as s, getCoingeckoPrices as n, getCoingeckoTokenList as p } from "./API/getCoingeckoPrice.mjs";
3
3
  import { callOneInchAPI as l } from "./API/callOneInchAPI.mjs";
4
- import { getBeefyHistoricalChartData as c } from "./API/callBeefyGraphAPI.mjs";
4
+ import { getBeefyHistoricalChartData as d } from "./API/callBeefyGraphAPI.mjs";
5
5
  import { callRelayerTransactAPI as x } from "./API/callRelayer.mjs";
6
6
  import { getAxelarGasEstimate as u } from "./API/getAxelarGasEstimate.mjs";
7
7
  import { getGasEstimates as y } from "./API/getGasEstimates.mjs";
8
- import { getTokenPrice as T, getTokenPriceEth as P, getTokenPrices as k } from "./API/getTokenPrice.mjs";
8
+ import { getTokenPrice as T, getTokenPriceEth as k, getTokenPrices as P } from "./API/getTokenPrice.mjs";
9
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";
@@ -24,12 +24,12 @@ import { networkRegistry as ae } from "./constants/token-data/baseRegistryFixed.
24
24
  import { networkRegistry as se } from "./constants/token-data/ethMainnetRegistry.json.mjs";
25
25
  import { networkRegistry as pe } from "./constants/token-data/arbMainnetRegistry.json.mjs";
26
26
  import { networkRegistry as le } from "./constants/token-data/bnbMainnetRegistry.json.mjs";
27
- import { networkRegistry as ce } from "./constants/token-data/polygonRegistry.json.mjs";
27
+ import { networkRegistry as de } from "./constants/token-data/polygonRegistry.json.mjs";
28
28
  import { networkRegistry as xe } from "./constants/token-data/avalancheRegistry.json.mjs";
29
29
  import { networkRegistry as ue } 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 ke } from "./constants/token-data/popularTokens.constants.mjs";
32
+ import { PopularTokenSymbols as Pe } from "./constants/token-data/popularTokens.constants.mjs";
33
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";
@@ -42,13 +42,13 @@ import { default as We } from "./constants/deploy-data/deploy-data-localhost.jso
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
- 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";
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 dr, getRelayFee as cr, 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
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
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
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
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";
51
+ import { COINGECKO_API_KEY as uo, CoinGeckoChainLabels as Ao, coingeckoPriceUrl as yo, coingeckoPriceUrl2 as Ro, coingeckoTokenListUrl as To, getCoingeckoIdForNativeTokens as ko, getCoingeckoPlatform as Po, proCoingeckoUrl as So, proHeader as Io } from "./constants/coingecko.constants.mjs";
52
52
  import { AxelarRegistry as Eo } from "./constants/axelar.constants.mjs";
53
53
  import { NETWORKS as bo, getGasStationUrl as Do } from "./constants/backend.constants.mjs";
54
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";
@@ -56,8 +56,8 @@ import { getCalcTokenAmountWithDynamicArray as Oo } from "./constants/crvDynamic
56
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
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
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";
59
+ import { ethBeefyRegistry as ft, getBeefyRegistryWithChainId as dt } 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 kt } from "./constants/pendle.registry.mjs";
61
61
  import { poseidonFunction as St, poseidonHash as It, poseidonHolder as Ct } from "./crypto/poseidon.mjs";
62
62
  import { babyJubInstance as ht, jubHolder as bt } from "./crypto/babyJub.mjs";
63
63
  import { preProcessing as vt } from "./crypto/preProcessing.mjs";
@@ -74,12 +74,12 @@ import { hinkalActionPendle as ta } from "./data-structures/Hinkal/hinkalActionP
74
74
  import { hinkalDeposit as ia, hinkalDepositForOther as sa } from "./data-structures/Hinkal/hinkalDeposit.mjs";
75
75
  import { hinkalSwap as pa } from "./data-structures/Hinkal/hinkalSwap.mjs";
76
76
  import { hinkalTransfer as la } from "./data-structures/Hinkal/hinkalTransfer.mjs";
77
- import { hinkalWithdraw as ca } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
77
+ import { hinkalWithdraw as da } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
78
78
  import { hinkalPrivateWallet as xa } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
79
79
  import { resetMerkleTrees as ua } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
80
80
  import { MerkleTree as ya } from "./data-structures/merkle-tree/MerkleTree.mjs";
81
81
  import { MerkleTreeIncompleteError as Ta } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
82
- import { AbstractAccessTokenSnapshotService as ka } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
82
+ import { AbstractAccessTokenSnapshotService as Pa } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
83
83
  import { AbstractCommitmentsSnapshotService as Ia } from "./data-structures/event-service/AbstractCommitmentsSnapshotService.mjs";
84
84
  import { AbstractNullifierSnapshotService as Ea } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
85
85
  import { AbstractSnapshotService as ba } from "./data-structures/event-service/AbstractSnapshotService.mjs";
@@ -99,11 +99,11 @@ import { checkErrorForSnapshotRestore as ii } from "./error-handling/handleError
99
99
  import { logError as ni } from "./error-handling/logError.mjs";
100
100
  import { ErrorCategory as mi } from "./error-handling/types.mjs";
101
101
  import { abi as fi } from "./externalABIs/amToken.mjs";
102
- import { abi as di } from "./externalABIs/BeefyVaultAbi.json.mjs";
102
+ import { abi as ci } from "./externalABIs/BeefyVaultAbi.json.mjs";
103
103
  import { abi as gi } from "./externalABIs/BUSD.mjs";
104
104
  import { abi as Ai } from "./externalABIs/CurveReadingWrapperAbi.json.mjs";
105
105
  import { abi as Ri } from "./externalABIs/CurveWrappedMainPool.json.mjs";
106
- import { abi as Pi } from "./externalABIs/DAI.mjs";
106
+ import { abi as ki } from "./externalABIs/DAI.mjs";
107
107
  import { abi as Si } from "./externalABIs/ERC20.json.mjs";
108
108
  import { abi as Ci } from "./externalABIs/IQuoterV2.json.mjs";
109
109
  import { abi as hi } from "./externalABIs/IUniswapV3Factory.json.mjs";
@@ -125,9 +125,9 @@ import { abi as ts } from "./externalABIs/BabPassport.json.mjs";
125
125
  import { abi as is } from "./externalABIs/GalxePassport.json.mjs";
126
126
  import { default as ns } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
127
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";
128
+ import { openPassportWindow as cs } from "./functions/kyc/passportHelper.mjs";
129
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";
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 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
131
  import { getHinkalCache as Bs, loadTxsCache as Fs, resetCache as _s, saveTxsCache as Ms, setHinkalCache as Ns } from "./functions/utils/cacheFunctions.mjs";
132
132
  import { createProvider as Vs } from "./functions/utils/create-provider.mjs";
133
133
  import { decodeMetadata as Hs, getActionFromMetadata as Gs, getExternalActionIdFromNumber as Ks, getExternalActionIdHash as Ys, getExternalMetadataHash as zs } from "./functions/utils/external-action.utils.mjs";
@@ -138,11 +138,11 @@ import { convertIntegrationProviderToExternalActionId as tn } from "./functions/
138
138
  import { getInteractionFromAction as sn } from "./functions/pre-transaction/interaction-to-action.mjs";
139
139
  import { outputUtxoProcessing as pn } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
140
140
  import { processGasEstimates as ln } from "./functions/pre-transaction/process-gas-estimates.mjs";
141
- import { processAmountChanges as cn } from "./functions/pre-transaction/processAmountChanges.mjs";
141
+ import { processAmountChanges as dn } from "./functions/pre-transaction/processAmountChanges.mjs";
142
142
  import { getFlatFees as xn } from "./functions/pre-transaction/getFlatFees.mjs";
143
143
  import { getNetworkObject as un, getNetworkType as An } from "./functions/utils/evmNetworkFunctions.mjs";
144
144
  import { getAxelarMigrationInfo as Rn } from "./functions/utils/axelar.utils.mjs";
145
- import { browserSupported as Pn, walletSupported as kn } from "./functions/utils/userAgent.mjs";
145
+ import { browserSupported as kn, walletSupported as Pn } from "./functions/utils/userAgent.mjs";
146
146
  import { decodeTxInput as In, decodeTxLogs as Cn, deserializeDecodedTxs as En, serializeDecodedTxs as hn } from "./functions/utils/getDataFromTransaction.mjs";
147
147
  import { reloadPage as Dn } from "./functions/utils/reloadPage.mjs";
148
148
  import { capitalizeFirstLetter as Ln, isNullOrEmpty as wn, toTitleCase as Un } from "./functions/utils/string.utils.mjs";
@@ -150,69 +150,67 @@ import { isNicknameValid as Fn } from "./functions/utils/nickname.utils.mjs";
150
150
  import { caseInsensitiveEqual as Mn, lowerCaseIncludes as Nn, lowerCaseStartsWith as On } from "./functions/utils/caseInsensitive.utils.mjs";
151
151
  import { waitLittle as Wn } from "./functions/utils/time.utils.mjs";
152
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";
153
+ import { calculateDollarValue as Yn, ethToWei as zn, getAmountInToken as Zn, getAmountInWei as qn, getAmountInWeiOrZero as Qn, getAmountWithPrecision as jn, getAmountWithPrecisionOrZero as Xn, randomBigInt as Jn, toBigIntWithDecimals as $n } from "./functions/web3/etherFunctions.mjs";
154
+ import { getInputUtxoAndBalance as rp, getInputUtxosFromEncryptedOutputs as op } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
155
+ import { addPaddingToUtxos as ap, getShieldedBalance as ip } from "./functions/web3/events/getShieldedBalance.mjs";
156
+ import { getDepositEvents as np, retrieveEvents as pp } from "./functions/web3/events/web3RetrieveEvents.mjs";
157
+ import { balanceChangedHandler as lp } from "./functions/web3/events/balanceChangedHandler.mjs";
158
+ import { getUniswapFee as dp, getUniswapPrice as cp, getUniswapPriceHelper as xp, searchPoolAndFee as gp } from "./functions/web3/uniswapAPI.mjs";
159
+ import { getOdosPrice as Ap } from "./functions/web3/odosAPI.mjs";
160
+ import { getOneInchPrice as Rp } from "./functions/web3/oneInchAPI.mjs";
161
+ import { runContractFunction as kp } from "./functions/web3/runContractFunction.mjs";
162
+ import { constructZkProof as Sp } from "./functions/snarkjs/constructGeneralZkProof.mjs";
163
+ import { constructEmporiumProof as Cp } from "./functions/snarkjs/constructEmporiumProof.mjs";
164
+ import { buildInNullifiers as hp, buildOutCommitments as bp, calcAccessTokenSiblingsAndSides as Dp, calcAmountChanges as vp, calcCommitmentsSiblingAndSides as Lp, calcEncryptedOutputs as wp, calcPublicSignalCount as Up, calcStealthAddressStructure as Bp, createCallDataHash as Fp, deserializeCircomData as _p, serializeCircomData as Mp } from "./functions/snarkjs/common.snarkjs.mjs";
165
+ import { generateZkProof as Op } from "./functions/snarkjs/generateZkProof.mjs";
166
+ import { getCRV as Wp } from "./functions/protocols/curve.protocols.mjs";
167
+ import { getCVX as Gp } from "./functions/protocols/convex.protocols.mjs";
168
+ import { determinePendleSwapType as Yp, determinePendleSwapTypeApiRoute as zp, erc20TokenFromPendleAsset as Zp, getAssetTypeFromPendleMarket as qp, getTokenIndexForPendleFlatFee as Qp } from "./functions/protocols/pendle.helpers.mjs";
169
+ import { calculateStakeNullifier as Xp, createStakeCommitment as Jp, decryptStake as $p, encodeHStakeMetadata as em, encryptStake as rm } from "./functions/staking/index.mjs";
170
+ import { emporiumOp as tm, encodeEmporiumMetadata as am } from "./functions/private-wallet/emporium.helpers.mjs";
171
+ import { OpType as sm, produceOp as nm } from "./functions/private-wallet/opProducer.mjs";
172
+ import { dataBeefyApiConfig as mm, isBeefyDeposit as lm } from "./types/beefy.types.mjs";
173
+ import { defaultHookData as dm, defaultHookDataArray as cm, defaultStealthAddressStructure as xm, emptyStealthAddressStructure as gm } from "./types/circom-data.types.mjs";
174
+ import { ContractType as Am } from "./types/ethereum-network.types.mjs";
175
+ import { ExternalActionId as Rm } from "./types/external-action.types.mjs";
176
+ import { BeefyAction as km, ConvexAction as Pm, CurveAction as Sm, EventType as Im, INTERACTION as Cm, IntegrationProvider as Em, LidoAction as hm, LidoVariant as bm, PendleAction as Dm, PendleLPAction as vm, StakeProvider as Lm, VolatileAction as wm } from "./types/hinkal.types.mjs";
177
+ import { KycVerificationResult as Bm, KycVerificationStatus as Fm, Passports as _m, VERIFICATION_TYPE as Mm, VerificationTypes as Nm } from "./types/kyc.types.mjs";
178
+ import { ApprovalType as Vm } from "./types/token.types.mjs";
179
+ import { SlippageType as Hm, slippageLevels as Gm } from "./types/slippage.types.mjs";
180
+ import { emptyDecodedTx as Ym } from "./types/transactions.types.mjs";
181
+ import { MONTHS as Zm, dayInMilliseconds as qm, divideMonthOnIntervals as Qm, getCurrentWeek as jm, getDateFromWeek as Xm, getNextDay as Jm, getWeekTimestamps as $m, hasCertificationPeriodExpired as el, hourInMilliseconds as rl, isWeekCurrent as ol, minuteInMilliseconds as tl, parseWeek as al, secondInMilliseconds as il, toDateString as sl, weekInMilliseconds as nl } from "./types/time.types.mjs";
182
+ import { BonusType as ml, CertifyType as ll, LP_TIER as fl, PaymentStatus as dl, PointType as cl, RafflePrizeType as xl, RewardPage as gl, RewardsHistoryDistribution as ul, RewardsHistoryEligibility as Al, RewardsHistorySnapshots as yl, RewardsHistoryStatuses as Rl, RewardsPageTabs as Tl, TIER_LEVEL as kl, Timeline as Pl, emptyUserPointsBreakdown as Sl, emptyUserPointsResponse as Il } from "./types/rewards.types.mjs";
183
+ import { PendleAssetType as El, PendleChains as hl, PendleDashboardTabs as bl, PendleEarnTabs as Dl, PendleMarketTransactionTypes as vl, PendlePoolManualTabs as Ll, PendlePoolTabs as wl, PendlePoolZapTabs as Ul, PendleSwapType as Bl, PendleTabs as Fl, PendleTradeGeneralTabs as _l, PendleTradeTabs as Ml } from "./types/pendle.types.mjs";
184
+ import { StatType as Ol, UpperTabPossibleValues as Vl, curveNetworkNames as Wl, curvePools as Hl } from "./types/curve.types.mjs";
185
+ import { HinkalStakeMode as Kl } from "./types/hinkal.stake.types.mjs";
187
186
  export {
188
187
  Jo as ACCESS_TOKEN_MINTING_POINTS,
189
188
  Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
190
189
  Ir as AIPRISE_KYC_TEMPLATE_ID_PROD,
191
190
  b as API,
192
191
  vr as API_CONFIG,
193
- ka as AbstractAccessTokenSnapshotService,
192
+ Pa as AbstractAccessTokenSnapshotService,
194
193
  Ia as AbstractCommitmentsSnapshotService,
195
194
  va as AbstractEventService,
196
195
  Ea as AbstractNullifierSnapshotService,
197
196
  ba as AbstractSnapshotService,
198
197
  fi as AmTokenABI,
199
- Gm as ApprovalType,
198
+ Vm as ApprovalType,
200
199
  Eo as AxelarRegistry,
201
200
  gi as BUSDABI,
202
201
  ts as BabABI,
203
- Im as BeefyAction,
204
- di as BeefyVaultABI,
205
- cl as BonusType,
206
- Yn as Buffer,
202
+ km as BeefyAction,
203
+ ci as BeefyVaultABI,
204
+ ml as BonusType,
207
205
  $o as CERTIFICATION_DISABLE_WEEK,
208
206
  eo as CIRCOM_P,
209
207
  ro as CIRCOM_P_HALF,
210
208
  uo as COINGECKO_API_KEY,
211
- dl as CertifyType,
209
+ ll as CertifyType,
212
210
  Ao as CoinGeckoChainLabels,
213
- Tm as ContractType,
214
- Cm as ConvexAction,
215
- Em as CurveAction,
211
+ Am as ContractType,
212
+ Pm as ConvexAction,
213
+ Sm as CurveAction,
216
214
  Ai as CurveReadingWrapperABI,
217
215
  Ri as CurveWrappedMainPoolABI,
218
216
  Lr as DATA_SERVER_CONFIG,
@@ -224,72 +222,71 @@ export {
224
222
  Gt as EncryptionKeyPairDefaultValue,
225
223
  mi as ErrorCategory,
226
224
  Ze as EthereumNetworkType,
227
- hm as EventType,
228
- km as ExternalActionId,
225
+ Im as EventType,
226
+ Rm as ExternalActionId,
229
227
  qa as FeeOverTransactionValueError,
230
228
  is as GalxeABI,
231
229
  ir as HINKAL_EXTERNAL_ACTION_FEE,
232
230
  sr as HINKAL_UNIVERSAL_FEE,
233
231
  Qt as Hinkal,
234
- Zl as HinkalStakeMode,
232
+ Kl as HinkalStakeMode,
235
233
  V as IMAGE_PATHS,
236
- bm as INTERACTION,
234
+ Cm as INTERACTION,
237
235
  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,
236
+ Em as IntegrationProvider,
237
+ Bm as KycVerificationResult,
238
+ Fm as KycVerificationStatus,
239
+ fl as LP_TIER,
240
+ hm as LidoAction,
241
+ bm as LidoVariant,
242
+ Zm as MONTHS,
245
243
  ya as MerkleTree,
246
244
  Ta as MerkleTreeIncompleteError,
247
245
  Ya as MultiThreadedUtxoUtils,
248
246
  bo as NETWORKS,
249
- mm as OpType,
247
+ sm as OpType,
250
248
  Fr as PLAYGROUND_RELAYER_URLS,
251
249
  _r as PLAYGROUND_SERVER_URLS,
252
250
  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,
251
+ _m as Passports,
252
+ dl as PaymentStatus,
253
+ Dm as PendleAction,
254
+ El as PendleAssetType,
255
+ hl as PendleChains,
256
+ bl as PendleDashboardTabs,
257
+ Dl as PendleEarnTabs,
258
+ vm as PendleLPAction,
259
+ vl as PendleMarketTransactionTypes,
260
+ Ll as PendlePoolManualTabs,
261
+ wl as PendlePoolTabs,
262
+ Ul as PendlePoolZapTabs,
263
+ Bl as PendleSwapType,
264
+ Fl as PendleTabs,
265
+ _l as PendleTradeGeneralTabs,
266
+ Ml as PendleTradeTabs,
267
+ cl as PointType,
268
+ Pe as PopularTokenSymbols,
272
269
  Nr as RELAYER_CONFIG,
273
270
  Or as RELAYER_URLS,
274
271
  et as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
275
272
  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,
273
+ xl as RafflePrizeType,
274
+ gl as RewardPage,
275
+ ul as RewardsHistoryDistribution,
276
+ Al as RewardsHistoryEligibility,
277
+ yl as RewardsHistorySnapshots,
278
+ Rl as RewardsHistoryStatuses,
279
+ Tl as RewardsPageTabs,
283
280
  Vr as SERVER_URLS,
284
281
  Wr as STAGING_RELAYER_URLS,
285
282
  Hr as STAGING_SERVER_URLS,
286
283
  Gr as STAGING_URL,
287
- Ym as SlippageType,
288
- Bm as StakeProvider,
289
- Hl as StatType,
284
+ Hm as SlippageType,
285
+ Lm as StakeProvider,
286
+ Ol as StatType,
290
287
  Cr as SupportedPassports,
291
- Il as TIER_LEVEL,
292
- Cl as Timeline,
288
+ kl as TIER_LEVEL,
289
+ Pl as Timeline,
293
290
  _a as TokenChecker,
294
291
  Va as TransactionType,
295
292
  Na as TransactionsManager,
@@ -297,19 +294,19 @@ export {
297
294
  Fi as USDR3CRVABI,
298
295
  Ui as USDRABI,
299
296
  Mi as USDTABI,
300
- Gl as UpperTabPossibleValues,
297
+ Vl as UpperTabPossibleValues,
301
298
  $a as UserFriendlyErrorCodes,
302
299
  Kt as UserKeys,
303
300
  wa as Utxo,
304
- Vm as VERIFICATION_TYPE,
301
+ Mm as VERIFICATION_TYPE,
305
302
  wt as ValueCache,
306
- Wm as VerificationTypes,
307
- Fm as VolatileAction,
303
+ Nm as VerificationTypes,
304
+ wm as VolatileAction,
308
305
  Ga as VolatileHelper,
309
306
  Oi as WETHABI,
310
307
  Bt as abiDecodeUtxo,
311
308
  As as absBigInt,
312
- np as addPaddingToUtxos,
309
+ ap as addPaddingToUtxos,
313
310
  Er as aipriseBaseOnboardingProductionUrl,
314
311
  hr as aipriseBaseOnboardingSandboxUrl,
315
312
  Lo as arbMainnetCrvCvxRegistry,
@@ -324,7 +321,7 @@ export {
324
321
  Ge as axelar1Data,
325
322
  Ye as axelar2Data,
326
323
  ht as babyJubInstance,
327
- dp as balanceChangedHandler,
324
+ lp as balanceChangedHandler,
328
325
  Uo as baseCrvCvxRegistry,
329
326
  Oe as baseData,
330
327
  ye as baseRegistry,
@@ -339,19 +336,19 @@ export {
339
336
  j as bnbMainnetRegistryFixed,
340
337
  gt as bnbPendleRegistry,
341
338
  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,
339
+ kn as browserSupported,
340
+ hp as buildInNullifiers,
341
+ bp as buildOutCommitments,
342
+ Dp as calcAccessTokenSiblingsAndSides,
343
+ vp as calcAmountChanges,
344
+ Lp as calcCommitmentsSiblingAndSides,
345
+ wp as calcEncryptedOutputs,
346
+ Up as calcPublicSignalCount,
347
+ Bp as calcStealthAddressStructure,
348
+ ks as calculateAmountUsingBeeps,
349
+ Yn as calculateDollarValue,
350
+ Xp as calculateStakeNullifier,
351
+ Ps as calculateSum,
355
352
  l as callOneInchAPI,
356
353
  x as callRelayerTransactAPI,
357
354
  Ln as capitalizeFirstLetter,
@@ -365,51 +362,51 @@ export {
365
362
  yo as coingeckoPriceUrl,
366
363
  Ro as coingeckoPriceUrl2,
367
364
  To as coingeckoTokenListUrl,
368
- bp as constructEmporiumProof,
369
- Ep as constructZkProof,
365
+ Cp as constructEmporiumProof,
366
+ Sp as constructZkProof,
370
367
  ur as contractMetadataMapping,
371
368
  tn as convertIntegrationProviderToExternalActionId,
372
- Np as createCallDataHash,
369
+ Fp as createCallDataHash,
373
370
  Vs as createProvider,
374
- rm as createStakeCommitment,
371
+ Jp as createStakeCommitment,
375
372
  je as crossChainAccessTokenNetworks,
376
373
  to as crvSymbol,
377
- Kl as curveNetworkNames,
378
- Yl as curvePools,
374
+ Wl as curveNetworkNames,
375
+ Hl as curvePools,
379
376
  ao as curveWithdrawGasTokenAddress,
380
377
  io as curveZeroAddress,
381
378
  Ba as customTokenRegistry,
382
379
  so as cvxSymbol,
383
- Pi as daiABI,
384
- cm as dataBeefyApiConfig,
385
- Xm as dayInMilliseconds,
380
+ ki as daiABI,
381
+ mm as dataBeefyApiConfig,
382
+ qm as dayInMilliseconds,
386
383
  Hs as decodeMetadata,
387
384
  In as decodeTxInput,
388
385
  Cn as decodeTxLogs,
389
386
  _t as decodeUtxo,
390
387
  Mt as decodeUtxoConstructorArgs,
391
- om as decryptStake,
388
+ $p as decryptStake,
392
389
  Ot as decryptUtxo,
393
390
  Vt as decryptUtxoConstructorArgs,
394
- gm as defaultHookData,
395
- um as defaultHookDataArray,
396
- Am as defaultStealthAddressStructure,
391
+ dm as defaultHookData,
392
+ cm as defaultHookDataArray,
393
+ xm as defaultStealthAddressStructure,
397
394
  zr as deploymentMode,
398
- Op as deserializeCircomData,
395
+ _p as deserializeCircomData,
399
396
  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,
397
+ Yp as determinePendleSwapType,
398
+ zp as determinePendleSwapTypeApiRoute,
399
+ Qm as divideMonthOnIntervals,
400
+ tm as emporiumOp,
401
+ Ym as emptyDecodedTx,
402
+ gm as emptyStealthAddressStructure,
403
+ Sl as emptyUserPointsBreakdown,
404
+ Il as emptyUserPointsResponse,
405
+ am as encodeEmporiumMetadata,
406
+ em as encodeHStakeMetadata,
407
+ rm as encryptStake,
411
408
  Wt as encryptUtxo,
412
- jp as erc20TokenFromPendleAsset,
409
+ Zp as erc20TokenFromPendleAsset,
413
410
  ft as ethBeefyRegistry,
414
411
  Bo as ethCrvCvxRegistry,
415
412
  Le as ethMainnetData,
@@ -417,47 +414,47 @@ export {
417
414
  z as ethMainnetRegistryFixed,
418
415
  ut as ethPendleRegistry,
419
416
  Wo as ethSymbol,
420
- Qn as ethToWei,
417
+ zn as ethToWei,
421
418
  no as ethVolatileAddress,
422
419
  Wa as externalActionToTransactionType,
423
420
  oi as extractMessage,
424
421
  hi as factoryABI,
425
422
  At as findSyAddress,
426
423
  Ss as fixDecimalsAmount,
427
- Hp as generateZkProof,
424
+ Op as generateZkProof,
428
425
  Gs as getActionFromMetadata,
429
426
  nr as getAmountAfterRelayAndFlatFees,
430
427
  pr as getAmountAfterRelayAndFlatFeesAndSlippage,
431
428
  mr as getAmountAfterRelayFee,
432
429
  lr as getAmountAfterSlippage,
433
- jn as getAmountInToken,
434
- Xn as getAmountInWei,
435
- Jn as getAmountInWeiOrZero,
436
- $n as getAmountWithPrecision,
437
- ep as getAmountWithPrecisionOrZero,
430
+ Zn as getAmountInToken,
431
+ qn as getAmountInWei,
432
+ Qn as getAmountInWeiOrZero,
433
+ jn as getAmountWithPrecision,
434
+ Xn as getAmountWithPrecisionOrZero,
438
435
  fr as getAmountWithoutFee,
439
- Xp as getAssetTypeFromPendleMarket,
436
+ qp as getAssetTypeFromPendleMarket,
440
437
  u as getAxelarGasEstimate,
441
438
  Rn as getAxelarMigrationInfo,
442
- c as getBeefyHistoricalChartData,
443
- ct as getBeefyRegistryWithChainId,
444
- Kp as getCRV,
445
- zp as getCVX,
439
+ d as getBeefyHistoricalChartData,
440
+ dt as getBeefyRegistryWithChainId,
441
+ Wp as getCRV,
442
+ Gp as getCVX,
446
443
  Oo as getCalcTokenAmountWithDynamicArray,
447
444
  zt as getCircomSign,
448
- Po as getCoingeckoIdForNativeTokens,
449
- ko as getCoingeckoPlatform,
445
+ ko as getCoingeckoIdForNativeTokens,
446
+ Po as getCoingeckoPlatform,
450
447
  i as getCoingeckoPrice,
451
448
  s as getCoingeckoPrice2,
452
449
  n as getCoingeckoPrices,
453
450
  p as getCoingeckoTokenList,
454
451
  Fo as getCrvCvxWithChainId,
455
- $m as getCurrentWeek,
452
+ jm as getCurrentWeek,
456
453
  v as getCurvePools,
457
454
  L as getCurvePoolsforPriceFetching,
458
455
  o as getDataServerURL,
459
- el as getDateFromWeek,
460
- lp as getDepositEvents,
456
+ Xm as getDateFromWeek,
457
+ np as getDepositEvents,
461
458
  Ie as getERC20Registry,
462
459
  qs as getERC20Token,
463
460
  Qs as getERC20TokenBySymbol,
@@ -473,37 +470,37 @@ export {
473
470
  ja as getGenericFeeOverTransactionValueErrorMessage,
474
471
  js as getHToken,
475
472
  Bs as getHinkalCache,
476
- cr as getHinkalFeeRateInBeeps,
473
+ dr as getHinkalFeeRateInBeeps,
477
474
  Ar as getHinkalParameters,
478
475
  E as getIdleRelay,
479
- ap as getInputUtxoAndBalance,
480
- ip as getInputUtxosFromEncryptedOutputs,
476
+ rp as getInputUtxoAndBalance,
477
+ op as getInputUtxosFromEncryptedOutputs,
481
478
  sn as getInteractionFromAction,
482
479
  un as getNetworkObject,
483
480
  An as getNetworkType,
484
- rl as getNextDay,
481
+ Jm as getNextDay,
485
482
  Xe as getNonLocalhostChainId,
486
- Tp as getOdosPrice,
487
- kp as getOneInchPrice,
483
+ Ap as getOdosPrice,
484
+ Rp as getOneInchPrice,
488
485
  yt as getPendleRegistryWithChainId,
489
486
  N as getPublicWalletBalance,
490
- dr as getRelayFee,
487
+ cr as getRelayFee,
491
488
  _ as getRelayerURL,
492
489
  en as getSequence,
493
490
  t as getServerURL,
494
- pp as getShieldedBalance,
491
+ ip as getShieldedBalance,
495
492
  xr as getSlippageFee,
496
- Jp as getTokenIndexForPendleFlatFee,
493
+ Qp as getTokenIndexForPendleFlatFee,
497
494
  T as getTokenPrice,
498
- P as getTokenPriceEth,
499
- k as getTokenPrices,
500
- gp as getUniswapFee,
501
- up as getUniswapPrice,
502
- Ap as getUniswapPriceHelper,
495
+ k as getTokenPriceEth,
496
+ P as getTokenPrices,
497
+ dp as getUniswapFee,
498
+ cp as getUniswapPrice,
499
+ xp as getUniswapPriceHelper,
503
500
  Is as getValueFirstNDigit,
504
- ol as getWeekTimestamps,
501
+ $m as getWeekTimestamps,
505
502
  Rt as getYtTokensWithChainId,
506
- tl as hasCertificationPeriodExpired,
503
+ el as hasCertificationPeriodExpired,
507
504
  Xt as hinkalActionBeefy,
508
505
  $t as hinkalActionConvex,
509
506
  ra as hinkalActionCurve,
@@ -513,9 +510,9 @@ export {
513
510
  xa as hinkalPrivateWallet,
514
511
  pa as hinkalSwap,
515
512
  la as hinkalTransfer,
516
- ca as hinkalWithdraw,
517
- al as hourInMilliseconds,
518
- dm as isBeefyDeposit,
513
+ da as hinkalWithdraw,
514
+ rl as hourInMilliseconds,
515
+ lm as isBeefyDeposit,
519
516
  Zt as isCircomNegative,
520
517
  Zr as isDevelopment,
521
518
  Je as isLocalNetwork,
@@ -529,7 +526,7 @@ export {
529
526
  jr as isPlayground,
530
527
  Xr as isStaging,
531
528
  Jr as isWebpack,
532
- il as isWeekCurrent,
529
+ ol as isWeekCurrent,
533
530
  Tt as isYtToken,
534
531
  bt as jubHolder,
535
532
  Gi as lidoStEthAbi,
@@ -557,21 +554,21 @@ export {
557
554
  Cs as minBigInt,
558
555
  ls as mintAccessToken,
559
556
  fs as mintTokenCrossChain,
560
- sl as minuteInMilliseconds,
557
+ tl as minuteInMilliseconds,
561
558
  za as multiThreadedUtxoUtils,
562
559
  tr as networkRegistry,
563
560
  po as oneInchZeroAddress,
564
561
  gs as openDefaultPassportWindow,
565
- ds as openPassportWindow,
562
+ cs as openPassportWindow,
566
563
  _o as optimismCrvCvxRegistry,
567
564
  Ue as optimismData,
568
565
  ns as optimismGasPriceOracleAbi,
569
- Pt as optimismPendleRegistry,
566
+ kt as optimismPendleRegistry,
570
567
  ue as optimismRegistry,
571
568
  oe as optimismRegistryFixed,
572
569
  pn as outputUtxoProcessing,
573
570
  mo as ownerPublicKey,
574
- nl as parseWeek,
571
+ al as parseWeek,
575
572
  Gn as patchRegistry,
576
573
  lo as permitSignatureValidFor,
577
574
  Qi as poLidoNftAbi,
@@ -579,7 +576,7 @@ export {
579
576
  it as pointsLink,
580
577
  Mo as polygonCrvCvxRegistry,
581
578
  Fe as polygonData,
582
- ce as polygonRegistry,
579
+ de as polygonRegistry,
583
580
  J as polygonRegistryFixed,
584
581
  St as poseidonFunction,
585
582
  It as poseidonHash,
@@ -587,12 +584,12 @@ export {
587
584
  vt as preProcessing,
588
585
  So as proCoingeckoUrl,
589
586
  Io as proHeader,
590
- cn as processAmountChanges,
587
+ dn as processAmountChanges,
591
588
  ln as processGasEstimates,
592
- lm as produceOp,
589
+ nm as produceOp,
593
590
  Ci as quoterV2ABI,
594
591
  st as raffleProgramStartWeek,
595
- rp as randomBigInt,
592
+ Jn as randomBigInt,
596
593
  nt as referralLink,
597
594
  Dn as reloadPage,
598
595
  Js as requireEnv,
@@ -600,25 +597,25 @@ export {
600
597
  ua as resetMerkleTrees,
601
598
  rn as resolveSync,
602
599
  Xa as rethrowKnownGasErrorIfPossible,
603
- fp as retrieveEvents,
604
- Ip as runContractFunction,
600
+ pp as retrieveEvents,
601
+ kp as runContractFunction,
605
602
  Di as sanctionsListABI,
606
603
  Ms as saveTxsCache,
607
- yp as searchPoolAndFee,
608
- pl as secondInMilliseconds,
609
- Vp as serializeCircomData,
604
+ gp as searchPoolAndFee,
605
+ il as secondInMilliseconds,
606
+ Mp as serializeCircomData,
610
607
  hn as serializeDecodedTxs,
611
608
  Ns as setHinkalCache,
612
609
  fo as signaturePhrase,
613
- zm as slippageLevels,
610
+ Gm as slippageLevels,
614
611
  Qo as stMaticSymbol,
615
612
  br as supportedPassportLinks,
616
613
  co as threePoolSymbol,
617
614
  Es as toBigInt,
618
615
  hs as toBigIntOrUndefined,
619
- op as toBigIntWithDecimals,
616
+ $n as toBigIntWithDecimals,
620
617
  bs as toCommaSeparatedNumberString,
621
- ml as toDateString,
618
+ sl as toDateString,
622
619
  Ds as toInt,
623
620
  vs as toNumberOrUndefined,
624
621
  Un as toTitleCase,
@@ -629,13 +626,13 @@ export {
629
626
  yr as uniswapV2PoolData,
630
627
  Rr as uniswapV3FactoryData,
631
628
  Tr as uniswapV3PoolData,
632
- Pr as uniswapV3QuoterData,
629
+ kr as uniswapV3QuoterData,
633
630
  H as urlForBeefyVaultTokens,
634
631
  G as urlForBeefyVaultTotalInUSD,
635
632
  K as urlForRegularTokenPricesInBeefy,
636
633
  Wn as waitLittle,
637
- kn as walletSupported,
638
- ll as weekInMilliseconds,
634
+ Pn as walletSupported,
635
+ nl as weekInMilliseconds,
639
636
  jo as wstEthSymbol,
640
637
  xo as zeroAddress
641
638
  };