@hinkal/common 0.1.32 → 0.1.33

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