@hinkal/common 0.1.20 → 0.1.21

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