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