@hinkal/common 0.1.11 → 0.1.13

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/_virtual/_commonjsHelpers.cjs +1 -0
  2. package/_virtual/_commonjsHelpers.mjs +6 -0
  3. package/_virtual/browser.cjs +1 -0
  4. package/_virtual/browser.mjs +4 -0
  5. package/_virtual/index.cjs +1 -0
  6. package/_virtual/index.mjs +4 -0
  7. package/_virtual/index2.cjs +1 -0
  8. package/_virtual/index2.mjs +4 -0
  9. package/_virtual/index3.cjs +1 -0
  10. package/_virtual/index3.mjs +4 -0
  11. package/crypto/preProcessing.cjs +1 -1
  12. package/crypto/preProcessing.mjs +8 -5
  13. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  14. package/data-structures/Hinkal/Hinkal.mjs +4 -2
  15. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  16. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +9 -7
  17. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
  18. package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +7 -5
  19. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
  20. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +4 -2
  21. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  22. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +10 -8
  23. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  24. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +10 -8
  25. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  26. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +4 -2
  27. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  28. package/functions/pre-transaction/outputUtxoProcessing.mjs +6 -4
  29. package/functions/pre-transaction/processAmountChanges.cjs +1 -1
  30. package/functions/pre-transaction/processAmountChanges.mjs +9 -7
  31. package/functions/protocols/pendle.helpers.cjs +1 -1
  32. package/functions/protocols/pendle.helpers.mjs +12 -10
  33. package/functions/staking/index.cjs +1 -1
  34. package/functions/staking/index.mjs +23 -21
  35. package/functions/utils/index.d.ts +1 -0
  36. package/functions/utils/polyfills.cjs +1 -0
  37. package/functions/utils/polyfills.d.ts +219 -0
  38. package/functions/utils/polyfills.mjs +40 -0
  39. package/functions/web3/odosAPI.cjs +1 -1
  40. package/functions/web3/odosAPI.mjs +11 -9
  41. package/functions/web3/oneInchAPI.cjs +1 -1
  42. package/functions/web3/oneInchAPI.mjs +4 -2
  43. package/functions/web3/runContractFunction.cjs +1 -1
  44. package/functions/web3/runContractFunction.mjs +17 -15
  45. package/functions/web3/uniswapAPI.cjs +1 -1
  46. package/functions/web3/uniswapAPI.mjs +4 -2
  47. package/index.cjs +1 -1
  48. package/index.mjs +205 -202
  49. package/package.json +1 -1
  50. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  51. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  52. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  53. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
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 d } from "./API/callBeefyGraphAPI.mjs";
4
+ import { getBeefyHistoricalChartData as c } 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 k, getTokenPrices as P } from "./API/getTokenPrice.mjs";
8
+ import { getTokenPrice as T, getTokenPriceEth as P, getTokenPrices as k } 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 de } from "./constants/token-data/polygonRegistry.json.mjs";
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
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 Pe } from "./constants/token-data/popularTokens.constants.mjs";
32
+ import { PopularTokenSymbols as ke } 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 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";
45
+ import { HINKAL_EXTERNAL_ACTION_FEE as ir, HINKAL_UNIVERSAL_FEE as sr, getAmountAfterRelayAndFlatFees as nr, getAmountAfterRelayAndFlatFeesAndSlippage as pr, getAmountAfterRelayFee as mr, getAmountAfterSlippage as lr, getAmountWithoutFee as fr, getHinkalFeeRateInBeeps as cr, getRelayFee as dr, getSlippageFee as xr } from "./constants/fees.constants.mjs";
46
+ import { contractMetadataMapping as ur, getHinkalParameters as Ar, uniswapV2PoolData as yr, uniswapV3FactoryData as Rr, uniswapV3PoolData as Tr, uniswapV3QuoterData as Pr } from "./constants/contracts.constants.mjs";
47
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 ko, getCoingeckoPlatform as Po, 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 Po, getCoingeckoPlatform as ko, 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 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";
59
+ import { ethBeefyRegistry as ft, getBeefyRegistryWithChainId as ct } from "./constants/beefy.registry.mjs";
60
+ import { arbPendleRegistry as xt, bnbPendleRegistry as gt, ethPendleRegistry as ut, findSyAddress as At, getPendleRegistryWithChainId as yt, getYtTokensWithChainId as Rt, isYtToken as Tt, optimismPendleRegistry as Pt } from "./constants/pendle.registry.mjs";
61
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 da } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
77
+ import { hinkalWithdraw as ca } 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 Pa } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
82
+ import { AbstractAccessTokenSnapshotService as ka } 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 ci } from "./externalABIs/BeefyVaultAbi.json.mjs";
102
+ import { abi as di } 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 ki } from "./externalABIs/DAI.mjs";
106
+ import { abi as Pi } 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 cs } from "./functions/kyc/passportHelper.mjs";
128
+ import { openPassportWindow as ds } 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 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";
130
+ import { absBigInt as As, beepsToPercentage as ys, bigintApplySugar as Rs, bigintMax as Ts, calculateAmountUsingBeeps as Ps, calculateSum as ks, fixDecimalsAmount as Ss, getValueFirstNDigit as Is, minBigInt as Cs, toBigInt as Es, toBigIntOrUndefined as hs, toCommaSeparatedNumberString as bs, toInt as Ds, toNumberOrUndefined as vs, trimLeadingZeros as Ls, truncateTo18DecimalPlaces as ws } from "./functions/utils/amounts.utils.mjs";
131
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 dn } from "./functions/pre-transaction/processAmountChanges.mjs";
141
+ import { processAmountChanges as cn } 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 kn, walletSupported as Pn } from "./functions/utils/userAgent.mjs";
145
+ import { browserSupported as Pn, walletSupported as kn } 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,67 +150,69 @@ 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 { 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";
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";
186
187
  export {
187
188
  Jo as ACCESS_TOKEN_MINTING_POINTS,
188
189
  Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
189
190
  Ir as AIPRISE_KYC_TEMPLATE_ID_PROD,
190
191
  b as API,
191
192
  vr as API_CONFIG,
192
- Pa as AbstractAccessTokenSnapshotService,
193
+ ka as AbstractAccessTokenSnapshotService,
193
194
  Ia as AbstractCommitmentsSnapshotService,
194
195
  va as AbstractEventService,
195
196
  Ea as AbstractNullifierSnapshotService,
196
197
  ba as AbstractSnapshotService,
197
198
  fi as AmTokenABI,
198
- Vm as ApprovalType,
199
+ Gm as ApprovalType,
199
200
  Eo as AxelarRegistry,
200
201
  gi as BUSDABI,
201
202
  ts as BabABI,
202
- km as BeefyAction,
203
- ci as BeefyVaultABI,
204
- ml as BonusType,
203
+ Im as BeefyAction,
204
+ di as BeefyVaultABI,
205
+ cl as BonusType,
206
+ Yn as Buffer,
205
207
  $o as CERTIFICATION_DISABLE_WEEK,
206
208
  eo as CIRCOM_P,
207
209
  ro as CIRCOM_P_HALF,
208
210
  uo as COINGECKO_API_KEY,
209
- ll as CertifyType,
211
+ dl as CertifyType,
210
212
  Ao as CoinGeckoChainLabels,
211
- Am as ContractType,
212
- Pm as ConvexAction,
213
- Sm as CurveAction,
213
+ Tm as ContractType,
214
+ Cm as ConvexAction,
215
+ Em as CurveAction,
214
216
  Ai as CurveReadingWrapperABI,
215
217
  Ri as CurveWrappedMainPoolABI,
216
218
  Lr as DATA_SERVER_CONFIG,
@@ -222,71 +224,72 @@ export {
222
224
  Gt as EncryptionKeyPairDefaultValue,
223
225
  mi as ErrorCategory,
224
226
  Ze as EthereumNetworkType,
225
- Im as EventType,
226
- Rm as ExternalActionId,
227
+ hm as EventType,
228
+ km as ExternalActionId,
227
229
  qa as FeeOverTransactionValueError,
228
230
  is as GalxeABI,
229
231
  ir as HINKAL_EXTERNAL_ACTION_FEE,
230
232
  sr as HINKAL_UNIVERSAL_FEE,
231
233
  Qt as Hinkal,
232
- Kl as HinkalStakeMode,
234
+ Zl as HinkalStakeMode,
233
235
  V as IMAGE_PATHS,
234
- Cm as INTERACTION,
236
+ bm as INTERACTION,
235
237
  Wi as ISwapRouterABI,
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,
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,
243
245
  ya as MerkleTree,
244
246
  Ta as MerkleTreeIncompleteError,
245
247
  Ya as MultiThreadedUtxoUtils,
246
248
  bo as NETWORKS,
247
- sm as OpType,
249
+ mm as OpType,
248
250
  Fr as PLAYGROUND_RELAYER_URLS,
249
251
  _r as PLAYGROUND_SERVER_URLS,
250
252
  Mr as PLAYGROUND_URL,
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,
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,
269
272
  Nr as RELAYER_CONFIG,
270
273
  Or as RELAYER_URLS,
271
274
  et as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
272
275
  rt as RafflePrizePoints,
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,
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,
280
283
  Vr as SERVER_URLS,
281
284
  Wr as STAGING_RELAYER_URLS,
282
285
  Hr as STAGING_SERVER_URLS,
283
286
  Gr as STAGING_URL,
284
- Hm as SlippageType,
285
- Lm as StakeProvider,
286
- Ol as StatType,
287
+ Ym as SlippageType,
288
+ Bm as StakeProvider,
289
+ Hl as StatType,
287
290
  Cr as SupportedPassports,
288
- kl as TIER_LEVEL,
289
- Pl as Timeline,
291
+ Il as TIER_LEVEL,
292
+ Cl as Timeline,
290
293
  _a as TokenChecker,
291
294
  Va as TransactionType,
292
295
  Na as TransactionsManager,
@@ -294,19 +297,19 @@ export {
294
297
  Fi as USDR3CRVABI,
295
298
  Ui as USDRABI,
296
299
  Mi as USDTABI,
297
- Vl as UpperTabPossibleValues,
300
+ Gl as UpperTabPossibleValues,
298
301
  $a as UserFriendlyErrorCodes,
299
302
  Kt as UserKeys,
300
303
  wa as Utxo,
301
- Mm as VERIFICATION_TYPE,
304
+ Vm as VERIFICATION_TYPE,
302
305
  wt as ValueCache,
303
- Nm as VerificationTypes,
304
- wm as VolatileAction,
306
+ Wm as VerificationTypes,
307
+ Fm as VolatileAction,
305
308
  Ga as VolatileHelper,
306
309
  Oi as WETHABI,
307
310
  Bt as abiDecodeUtxo,
308
311
  As as absBigInt,
309
- ap as addPaddingToUtxos,
312
+ np as addPaddingToUtxos,
310
313
  Er as aipriseBaseOnboardingProductionUrl,
311
314
  hr as aipriseBaseOnboardingSandboxUrl,
312
315
  Lo as arbMainnetCrvCvxRegistry,
@@ -321,7 +324,7 @@ export {
321
324
  Ge as axelar1Data,
322
325
  Ye as axelar2Data,
323
326
  ht as babyJubInstance,
324
- lp as balanceChangedHandler,
327
+ dp as balanceChangedHandler,
325
328
  Uo as baseCrvCvxRegistry,
326
329
  Oe as baseData,
327
330
  ye as baseRegistry,
@@ -336,19 +339,19 @@ export {
336
339
  j as bnbMainnetRegistryFixed,
337
340
  gt as bnbPendleRegistry,
338
341
  ot as boostAmounts,
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,
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,
352
355
  l as callOneInchAPI,
353
356
  x as callRelayerTransactAPI,
354
357
  Ln as capitalizeFirstLetter,
@@ -362,51 +365,51 @@ export {
362
365
  yo as coingeckoPriceUrl,
363
366
  Ro as coingeckoPriceUrl2,
364
367
  To as coingeckoTokenListUrl,
365
- Cp as constructEmporiumProof,
366
- Sp as constructZkProof,
368
+ bp as constructEmporiumProof,
369
+ Ep as constructZkProof,
367
370
  ur as contractMetadataMapping,
368
371
  tn as convertIntegrationProviderToExternalActionId,
369
- Fp as createCallDataHash,
372
+ Np as createCallDataHash,
370
373
  Vs as createProvider,
371
- Jp as createStakeCommitment,
374
+ rm as createStakeCommitment,
372
375
  je as crossChainAccessTokenNetworks,
373
376
  to as crvSymbol,
374
- Wl as curveNetworkNames,
375
- Hl as curvePools,
377
+ Kl as curveNetworkNames,
378
+ Yl as curvePools,
376
379
  ao as curveWithdrawGasTokenAddress,
377
380
  io as curveZeroAddress,
378
381
  Ba as customTokenRegistry,
379
382
  so as cvxSymbol,
380
- ki as daiABI,
381
- mm as dataBeefyApiConfig,
382
- qm as dayInMilliseconds,
383
+ Pi as daiABI,
384
+ cm as dataBeefyApiConfig,
385
+ Xm as dayInMilliseconds,
383
386
  Hs as decodeMetadata,
384
387
  In as decodeTxInput,
385
388
  Cn as decodeTxLogs,
386
389
  _t as decodeUtxo,
387
390
  Mt as decodeUtxoConstructorArgs,
388
- $p as decryptStake,
391
+ om as decryptStake,
389
392
  Ot as decryptUtxo,
390
393
  Vt as decryptUtxoConstructorArgs,
391
- dm as defaultHookData,
392
- cm as defaultHookDataArray,
393
- xm as defaultStealthAddressStructure,
394
+ gm as defaultHookData,
395
+ um as defaultHookDataArray,
396
+ Am as defaultStealthAddressStructure,
394
397
  zr as deploymentMode,
395
- _p as deserializeCircomData,
398
+ Op as deserializeCircomData,
396
399
  En as deserializeDecodedTxs,
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,
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,
408
411
  Wt as encryptUtxo,
409
- Zp as erc20TokenFromPendleAsset,
412
+ jp as erc20TokenFromPendleAsset,
410
413
  ft as ethBeefyRegistry,
411
414
  Bo as ethCrvCvxRegistry,
412
415
  Le as ethMainnetData,
@@ -414,47 +417,47 @@ export {
414
417
  z as ethMainnetRegistryFixed,
415
418
  ut as ethPendleRegistry,
416
419
  Wo as ethSymbol,
417
- zn as ethToWei,
420
+ Qn as ethToWei,
418
421
  no as ethVolatileAddress,
419
422
  Wa as externalActionToTransactionType,
420
423
  oi as extractMessage,
421
424
  hi as factoryABI,
422
425
  At as findSyAddress,
423
426
  Ss as fixDecimalsAmount,
424
- Op as generateZkProof,
427
+ Hp as generateZkProof,
425
428
  Gs as getActionFromMetadata,
426
429
  nr as getAmountAfterRelayAndFlatFees,
427
430
  pr as getAmountAfterRelayAndFlatFeesAndSlippage,
428
431
  mr as getAmountAfterRelayFee,
429
432
  lr as getAmountAfterSlippage,
430
- Zn as getAmountInToken,
431
- qn as getAmountInWei,
432
- Qn as getAmountInWeiOrZero,
433
- jn as getAmountWithPrecision,
434
- Xn as getAmountWithPrecisionOrZero,
433
+ jn as getAmountInToken,
434
+ Xn as getAmountInWei,
435
+ Jn as getAmountInWeiOrZero,
436
+ $n as getAmountWithPrecision,
437
+ ep as getAmountWithPrecisionOrZero,
435
438
  fr as getAmountWithoutFee,
436
- qp as getAssetTypeFromPendleMarket,
439
+ Xp as getAssetTypeFromPendleMarket,
437
440
  u as getAxelarGasEstimate,
438
441
  Rn as getAxelarMigrationInfo,
439
- d as getBeefyHistoricalChartData,
440
- dt as getBeefyRegistryWithChainId,
441
- Wp as getCRV,
442
- Gp as getCVX,
442
+ c as getBeefyHistoricalChartData,
443
+ ct as getBeefyRegistryWithChainId,
444
+ Kp as getCRV,
445
+ zp as getCVX,
443
446
  Oo as getCalcTokenAmountWithDynamicArray,
444
447
  zt as getCircomSign,
445
- ko as getCoingeckoIdForNativeTokens,
446
- Po as getCoingeckoPlatform,
448
+ Po as getCoingeckoIdForNativeTokens,
449
+ ko as getCoingeckoPlatform,
447
450
  i as getCoingeckoPrice,
448
451
  s as getCoingeckoPrice2,
449
452
  n as getCoingeckoPrices,
450
453
  p as getCoingeckoTokenList,
451
454
  Fo as getCrvCvxWithChainId,
452
- jm as getCurrentWeek,
455
+ $m as getCurrentWeek,
453
456
  v as getCurvePools,
454
457
  L as getCurvePoolsforPriceFetching,
455
458
  o as getDataServerURL,
456
- Xm as getDateFromWeek,
457
- np as getDepositEvents,
459
+ el as getDateFromWeek,
460
+ lp as getDepositEvents,
458
461
  Ie as getERC20Registry,
459
462
  qs as getERC20Token,
460
463
  Qs as getERC20TokenBySymbol,
@@ -470,37 +473,37 @@ export {
470
473
  ja as getGenericFeeOverTransactionValueErrorMessage,
471
474
  js as getHToken,
472
475
  Bs as getHinkalCache,
473
- dr as getHinkalFeeRateInBeeps,
476
+ cr as getHinkalFeeRateInBeeps,
474
477
  Ar as getHinkalParameters,
475
478
  E as getIdleRelay,
476
- rp as getInputUtxoAndBalance,
477
- op as getInputUtxosFromEncryptedOutputs,
479
+ ap as getInputUtxoAndBalance,
480
+ ip as getInputUtxosFromEncryptedOutputs,
478
481
  sn as getInteractionFromAction,
479
482
  un as getNetworkObject,
480
483
  An as getNetworkType,
481
- Jm as getNextDay,
484
+ rl as getNextDay,
482
485
  Xe as getNonLocalhostChainId,
483
- Ap as getOdosPrice,
484
- Rp as getOneInchPrice,
486
+ Tp as getOdosPrice,
487
+ kp as getOneInchPrice,
485
488
  yt as getPendleRegistryWithChainId,
486
489
  N as getPublicWalletBalance,
487
- cr as getRelayFee,
490
+ dr as getRelayFee,
488
491
  _ as getRelayerURL,
489
492
  en as getSequence,
490
493
  t as getServerURL,
491
- ip as getShieldedBalance,
494
+ pp as getShieldedBalance,
492
495
  xr as getSlippageFee,
493
- Qp as getTokenIndexForPendleFlatFee,
496
+ Jp as getTokenIndexForPendleFlatFee,
494
497
  T as getTokenPrice,
495
- k as getTokenPriceEth,
496
- P as getTokenPrices,
497
- dp as getUniswapFee,
498
- cp as getUniswapPrice,
499
- xp as getUniswapPriceHelper,
498
+ P as getTokenPriceEth,
499
+ k as getTokenPrices,
500
+ gp as getUniswapFee,
501
+ up as getUniswapPrice,
502
+ Ap as getUniswapPriceHelper,
500
503
  Is as getValueFirstNDigit,
501
- $m as getWeekTimestamps,
504
+ ol as getWeekTimestamps,
502
505
  Rt as getYtTokensWithChainId,
503
- el as hasCertificationPeriodExpired,
506
+ tl as hasCertificationPeriodExpired,
504
507
  Xt as hinkalActionBeefy,
505
508
  $t as hinkalActionConvex,
506
509
  ra as hinkalActionCurve,
@@ -510,9 +513,9 @@ export {
510
513
  xa as hinkalPrivateWallet,
511
514
  pa as hinkalSwap,
512
515
  la as hinkalTransfer,
513
- da as hinkalWithdraw,
514
- rl as hourInMilliseconds,
515
- lm as isBeefyDeposit,
516
+ ca as hinkalWithdraw,
517
+ al as hourInMilliseconds,
518
+ dm as isBeefyDeposit,
516
519
  Zt as isCircomNegative,
517
520
  Zr as isDevelopment,
518
521
  Je as isLocalNetwork,
@@ -526,7 +529,7 @@ export {
526
529
  jr as isPlayground,
527
530
  Xr as isStaging,
528
531
  Jr as isWebpack,
529
- ol as isWeekCurrent,
532
+ il as isWeekCurrent,
530
533
  Tt as isYtToken,
531
534
  bt as jubHolder,
532
535
  Gi as lidoStEthAbi,
@@ -554,21 +557,21 @@ export {
554
557
  Cs as minBigInt,
555
558
  ls as mintAccessToken,
556
559
  fs as mintTokenCrossChain,
557
- tl as minuteInMilliseconds,
560
+ sl as minuteInMilliseconds,
558
561
  za as multiThreadedUtxoUtils,
559
562
  tr as networkRegistry,
560
563
  po as oneInchZeroAddress,
561
564
  gs as openDefaultPassportWindow,
562
- cs as openPassportWindow,
565
+ ds as openPassportWindow,
563
566
  _o as optimismCrvCvxRegistry,
564
567
  Ue as optimismData,
565
568
  ns as optimismGasPriceOracleAbi,
566
- kt as optimismPendleRegistry,
569
+ Pt as optimismPendleRegistry,
567
570
  ue as optimismRegistry,
568
571
  oe as optimismRegistryFixed,
569
572
  pn as outputUtxoProcessing,
570
573
  mo as ownerPublicKey,
571
- al as parseWeek,
574
+ nl as parseWeek,
572
575
  Gn as patchRegistry,
573
576
  lo as permitSignatureValidFor,
574
577
  Qi as poLidoNftAbi,
@@ -576,7 +579,7 @@ export {
576
579
  it as pointsLink,
577
580
  Mo as polygonCrvCvxRegistry,
578
581
  Fe as polygonData,
579
- de as polygonRegistry,
582
+ ce as polygonRegistry,
580
583
  J as polygonRegistryFixed,
581
584
  St as poseidonFunction,
582
585
  It as poseidonHash,
@@ -584,12 +587,12 @@ export {
584
587
  vt as preProcessing,
585
588
  So as proCoingeckoUrl,
586
589
  Io as proHeader,
587
- dn as processAmountChanges,
590
+ cn as processAmountChanges,
588
591
  ln as processGasEstimates,
589
- nm as produceOp,
592
+ lm as produceOp,
590
593
  Ci as quoterV2ABI,
591
594
  st as raffleProgramStartWeek,
592
- Jn as randomBigInt,
595
+ rp as randomBigInt,
593
596
  nt as referralLink,
594
597
  Dn as reloadPage,
595
598
  Js as requireEnv,
@@ -597,25 +600,25 @@ export {
597
600
  ua as resetMerkleTrees,
598
601
  rn as resolveSync,
599
602
  Xa as rethrowKnownGasErrorIfPossible,
600
- pp as retrieveEvents,
601
- kp as runContractFunction,
603
+ fp as retrieveEvents,
604
+ Ip as runContractFunction,
602
605
  Di as sanctionsListABI,
603
606
  Ms as saveTxsCache,
604
- gp as searchPoolAndFee,
605
- il as secondInMilliseconds,
606
- Mp as serializeCircomData,
607
+ yp as searchPoolAndFee,
608
+ pl as secondInMilliseconds,
609
+ Vp as serializeCircomData,
607
610
  hn as serializeDecodedTxs,
608
611
  Ns as setHinkalCache,
609
612
  fo as signaturePhrase,
610
- Gm as slippageLevels,
613
+ zm as slippageLevels,
611
614
  Qo as stMaticSymbol,
612
615
  br as supportedPassportLinks,
613
616
  co as threePoolSymbol,
614
617
  Es as toBigInt,
615
618
  hs as toBigIntOrUndefined,
616
- $n as toBigIntWithDecimals,
619
+ op as toBigIntWithDecimals,
617
620
  bs as toCommaSeparatedNumberString,
618
- sl as toDateString,
621
+ ml as toDateString,
619
622
  Ds as toInt,
620
623
  vs as toNumberOrUndefined,
621
624
  Un as toTitleCase,
@@ -626,13 +629,13 @@ export {
626
629
  yr as uniswapV2PoolData,
627
630
  Rr as uniswapV3FactoryData,
628
631
  Tr as uniswapV3PoolData,
629
- kr as uniswapV3QuoterData,
632
+ Pr as uniswapV3QuoterData,
630
633
  H as urlForBeefyVaultTokens,
631
634
  G as urlForBeefyVaultTotalInUSD,
632
635
  K as urlForRegularTokenPricesInBeefy,
633
636
  Wn as waitLittle,
634
- Pn as walletSupported,
635
- nl as weekInMilliseconds,
637
+ kn as walletSupported,
638
+ ll as weekInMilliseconds,
636
639
  jo as wstEthSymbol,
637
640
  xo as zeroAddress
638
641
  };