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