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