@hinkal/common 0.1.25 → 0.1.27
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/crypto/babyJub.cjs +1 -1
- package/crypto/babyJub.mjs +5 -5
- package/crypto/poseidon.cjs +1 -1
- package/crypto/poseidon.mjs +15 -15
- package/crypto/preProcessing.cjs +1 -1
- package/crypto/preProcessing.mjs +7 -5
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.mjs +4 -3
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +4 -3
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +4 -3
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +4 -3
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +10 -9
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +10 -9
- package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +4 -3
- package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
- package/data-structures/transactions-manager/TransactionsManager.mjs +2 -3
- package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.mjs +6 -5
- package/functions/pre-transaction/processAmountChanges.cjs +1 -1
- package/functions/pre-transaction/processAmountChanges.mjs +9 -8
- package/functions/protocols/pendle.helpers.cjs +1 -1
- package/functions/protocols/pendle.helpers.mjs +12 -11
- package/functions/staking/index.cjs +1 -1
- package/functions/staking/index.mjs +21 -20
- package/functions/utils/index.d.ts +0 -1
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.mjs +6 -7
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.mjs +7 -6
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.mjs +4 -3
- package/functions/web3/runContractFunction.cjs +1 -1
- package/functions/web3/runContractFunction.mjs +17 -16
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.mjs +4 -3
- package/index.cjs +1 -1
- package/index.mjs +202 -205
- package/package.json +1 -1
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +2 -3
- package/providers/prepareWagmiv1Hinkal.cjs +1 -1
- package/providers/prepareWagmiv1Hinkal.mjs +2 -3
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +2 -2
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
- package/functions/utils/polyfills.cjs +0 -1
- package/functions/utils/polyfills.d.ts +0 -219
- package/functions/utils/polyfills.mjs +0 -40
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 d } 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 k, getTokenPrices as P } 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 de } 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 Pe } 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 dr, getRelayFee as cr, getSlippageFee as xr } from "./constants/fees.constants.mjs";
|
|
46
|
+
import { contractMetadataMapping as ur, getHinkalParameters as Ar, uniswapV2PoolData as yr, uniswapV3FactoryData as Rr, uniswapV3PoolData as Tr, uniswapV3QuoterData as kr } from "./constants/contracts.constants.mjs";
|
|
47
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 ko, getCoingeckoPlatform as Po, 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 dt } from "./constants/beefy.registry.mjs";
|
|
60
|
+
import { arbPendleRegistry as xt, bnbPendleRegistry as gt, ethPendleRegistry as ut, findSyAddress as At, getPendleRegistryWithChainId as yt, getYtTokensWithChainId as Rt, isYtToken as Tt, optimismPendleRegistry as kt } from "./constants/pendle.registry.mjs";
|
|
61
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 da } 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 Pa } 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 ci } 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 ki } 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 cs } from "./functions/kyc/passportHelper.mjs";
|
|
129
129
|
import { openDefaultPassportWindow as gs } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
130
|
-
import { absBigInt as As, beepsToPercentage as ys, bigintApplySugar as Rs, bigintMax as Ts, calculateAmountUsingBeeps as
|
|
130
|
+
import { absBigInt as As, beepsToPercentage as ys, bigintApplySugar as Rs, bigintMax as Ts, calculateAmountUsingBeeps as ks, calculateSum as Ps, fixDecimalsAmount as Ss, getValueFirstNDigit as Is, minBigInt as Cs, toBigInt as Es, toBigIntOrUndefined as hs, toCommaSeparatedNumberString as bs, toInt as Ds, toNumberOrUndefined as vs, trimLeadingZeros as Ls, truncateTo18DecimalPlaces as ws } from "./functions/utils/amounts.utils.mjs";
|
|
131
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 dn } 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 kn, walletSupported as Pn } 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,69 +150,67 @@ 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 {
|
|
186
|
-
import { HinkalStakeMode as Zl } from "./types/hinkal.stake.types.mjs";
|
|
153
|
+
import { calculateDollarValue as Yn, ethToWei as zn, getAmountInToken as Zn, getAmountInWei as qn, getAmountInWeiOrZero as Qn, getAmountWithPrecision as jn, getAmountWithPrecisionOrZero as Xn, randomBigInt as Jn, toBigIntWithDecimals as $n } from "./functions/web3/etherFunctions.mjs";
|
|
154
|
+
import { getInputUtxoAndBalance as rp, getInputUtxosFromEncryptedOutputs as op } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
155
|
+
import { addPaddingToUtxos as ap, getShieldedBalance as ip } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
156
|
+
import { getDepositEvents as np, retrieveEvents as pp } from "./functions/web3/events/web3RetrieveEvents.mjs";
|
|
157
|
+
import { balanceChangedHandler as lp } from "./functions/web3/events/balanceChangedHandler.mjs";
|
|
158
|
+
import { getUniswapFee as dp, getUniswapPrice as cp, getUniswapPriceHelper as xp, searchPoolAndFee as gp } from "./functions/web3/uniswapAPI.mjs";
|
|
159
|
+
import { getOdosPrice as Ap } from "./functions/web3/odosAPI.mjs";
|
|
160
|
+
import { getOneInchPrice as Rp } from "./functions/web3/oneInchAPI.mjs";
|
|
161
|
+
import { runContractFunction as kp } from "./functions/web3/runContractFunction.mjs";
|
|
162
|
+
import { constructZkProof as Sp } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
163
|
+
import { constructEmporiumProof as Cp } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
164
|
+
import { buildInNullifiers as hp, buildOutCommitments as bp, calcAccessTokenSiblingsAndSides as Dp, calcAmountChanges as vp, calcCommitmentsSiblingAndSides as Lp, calcEncryptedOutputs as wp, calcPublicSignalCount as Up, calcStealthAddressStructure as Bp, createCallDataHash as Fp, deserializeCircomData as _p, serializeCircomData as Mp } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
165
|
+
import { generateZkProof as Op } from "./functions/snarkjs/generateZkProof.mjs";
|
|
166
|
+
import { getCRV as Wp } from "./functions/protocols/curve.protocols.mjs";
|
|
167
|
+
import { getCVX as Gp } from "./functions/protocols/convex.protocols.mjs";
|
|
168
|
+
import { determinePendleSwapType as Yp, determinePendleSwapTypeApiRoute as zp, erc20TokenFromPendleAsset as Zp, getAssetTypeFromPendleMarket as qp, getTokenIndexForPendleFlatFee as Qp } from "./functions/protocols/pendle.helpers.mjs";
|
|
169
|
+
import { calculateStakeNullifier as Xp, createStakeCommitment as Jp, decryptStake as $p, encodeHStakeMetadata as em, encryptStake as rm } from "./functions/staking/index.mjs";
|
|
170
|
+
import { emporiumOp as tm, encodeEmporiumMetadata as am } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
171
|
+
import { OpType as sm, produceOp as nm } from "./functions/private-wallet/opProducer.mjs";
|
|
172
|
+
import { dataBeefyApiConfig as mm, isBeefyDeposit as lm } from "./types/beefy.types.mjs";
|
|
173
|
+
import { defaultHookData as dm, defaultHookDataArray as cm, defaultStealthAddressStructure as xm, emptyStealthAddressStructure as gm } from "./types/circom-data.types.mjs";
|
|
174
|
+
import { ContractType as Am } from "./types/ethereum-network.types.mjs";
|
|
175
|
+
import { ExternalActionId as Rm } from "./types/external-action.types.mjs";
|
|
176
|
+
import { BeefyAction as km, ConvexAction as Pm, CurveAction as Sm, EventType as Im, INTERACTION as Cm, IntegrationProvider as Em, LidoAction as hm, LidoVariant as bm, PendleAction as Dm, PendleLPAction as vm, StakeProvider as Lm, VolatileAction as wm } from "./types/hinkal.types.mjs";
|
|
177
|
+
import { KycVerificationResult as Bm, KycVerificationStatus as Fm, Passports as _m, VERIFICATION_TYPE as Mm, VerificationTypes as Nm } from "./types/kyc.types.mjs";
|
|
178
|
+
import { ApprovalType as Vm } from "./types/token.types.mjs";
|
|
179
|
+
import { SlippageType as Hm, slippageLevels as Gm } from "./types/slippage.types.mjs";
|
|
180
|
+
import { emptyDecodedTx as Ym } from "./types/transactions.types.mjs";
|
|
181
|
+
import { MONTHS as Zm, dayInMilliseconds as qm, divideMonthOnIntervals as Qm, getCurrentWeek as jm, getDateFromWeek as Xm, getNextDay as Jm, getWeekTimestamps as $m, hasCertificationPeriodExpired as el, hourInMilliseconds as rl, isWeekCurrent as ol, minuteInMilliseconds as tl, parseWeek as al, secondInMilliseconds as il, toDateString as sl, weekInMilliseconds as nl } from "./types/time.types.mjs";
|
|
182
|
+
import { BonusType as ml, CertifyType as ll, LP_TIER as fl, PaymentStatus as dl, PointType as cl, RafflePrizeType as xl, RewardPage as gl, RewardsHistoryDistribution as ul, RewardsHistoryEligibility as Al, RewardsHistorySnapshots as yl, RewardsHistoryStatuses as Rl, RewardsPageTabs as Tl, TIER_LEVEL as kl, Timeline as Pl, emptyUserPointsBreakdown as Sl, emptyUserPointsResponse as Il } from "./types/rewards.types.mjs";
|
|
183
|
+
import { PendleAssetType as El, PendleChains as hl, PendleDashboardTabs as bl, PendleEarnTabs as Dl, PendleMarketTransactionTypes as vl, PendlePoolManualTabs as Ll, PendlePoolTabs as wl, PendlePoolZapTabs as Ul, PendleSwapType as Bl, PendleTabs as Fl, PendleTradeGeneralTabs as _l, PendleTradeTabs as Ml } from "./types/pendle.types.mjs";
|
|
184
|
+
import { StatType as Ol, UpperTabPossibleValues as Vl, curveNetworkNames as Wl, curvePools as Hl } from "./types/curve.types.mjs";
|
|
185
|
+
import { HinkalStakeMode as Kl } from "./types/hinkal.stake.types.mjs";
|
|
187
186
|
export {
|
|
188
187
|
Jo as ACCESS_TOKEN_MINTING_POINTS,
|
|
189
188
|
Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
|
190
189
|
Ir as AIPRISE_KYC_TEMPLATE_ID_PROD,
|
|
191
190
|
b as API,
|
|
192
191
|
vr as API_CONFIG,
|
|
193
|
-
|
|
192
|
+
Pa as AbstractAccessTokenSnapshotService,
|
|
194
193
|
Ia as AbstractCommitmentsSnapshotService,
|
|
195
194
|
va as AbstractEventService,
|
|
196
195
|
Ea as AbstractNullifierSnapshotService,
|
|
197
196
|
ba as AbstractSnapshotService,
|
|
198
197
|
fi as AmTokenABI,
|
|
199
|
-
|
|
198
|
+
Vm as ApprovalType,
|
|
200
199
|
Eo as AxelarRegistry,
|
|
201
200
|
gi as BUSDABI,
|
|
202
201
|
ts as BabABI,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
Yn as Buffer,
|
|
202
|
+
km as BeefyAction,
|
|
203
|
+
ci as BeefyVaultABI,
|
|
204
|
+
ml as BonusType,
|
|
207
205
|
$o as CERTIFICATION_DISABLE_WEEK,
|
|
208
206
|
eo as CIRCOM_P,
|
|
209
207
|
ro as CIRCOM_P_HALF,
|
|
210
208
|
uo as COINGECKO_API_KEY,
|
|
211
|
-
|
|
209
|
+
ll as CertifyType,
|
|
212
210
|
Ao as CoinGeckoChainLabels,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
211
|
+
Am as ContractType,
|
|
212
|
+
Pm as ConvexAction,
|
|
213
|
+
Sm as CurveAction,
|
|
216
214
|
Ai as CurveReadingWrapperABI,
|
|
217
215
|
Ri as CurveWrappedMainPoolABI,
|
|
218
216
|
Lr as DATA_SERVER_CONFIG,
|
|
@@ -224,72 +222,71 @@ export {
|
|
|
224
222
|
Gt as EncryptionKeyPairDefaultValue,
|
|
225
223
|
mi as ErrorCategory,
|
|
226
224
|
Ze as EthereumNetworkType,
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
Im as EventType,
|
|
226
|
+
Rm as ExternalActionId,
|
|
229
227
|
qa as FeeOverTransactionValueError,
|
|
230
228
|
is as GalxeABI,
|
|
231
229
|
ir as HINKAL_EXTERNAL_ACTION_FEE,
|
|
232
230
|
sr as HINKAL_UNIVERSAL_FEE,
|
|
233
231
|
Qt as Hinkal,
|
|
234
|
-
|
|
232
|
+
Kl as HinkalStakeMode,
|
|
235
233
|
V as IMAGE_PATHS,
|
|
236
|
-
|
|
234
|
+
Cm as INTERACTION,
|
|
237
235
|
Wi as ISwapRouterABI,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
236
|
+
Em as IntegrationProvider,
|
|
237
|
+
Bm as KycVerificationResult,
|
|
238
|
+
Fm as KycVerificationStatus,
|
|
239
|
+
fl as LP_TIER,
|
|
240
|
+
hm as LidoAction,
|
|
241
|
+
bm as LidoVariant,
|
|
242
|
+
Zm as MONTHS,
|
|
245
243
|
ya as MerkleTree,
|
|
246
244
|
Ta as MerkleTreeIncompleteError,
|
|
247
245
|
Ya as MultiThreadedUtxoUtils,
|
|
248
246
|
bo as NETWORKS,
|
|
249
|
-
|
|
247
|
+
sm as OpType,
|
|
250
248
|
Fr as PLAYGROUND_RELAYER_URLS,
|
|
251
249
|
_r as PLAYGROUND_SERVER_URLS,
|
|
252
250
|
Mr as PLAYGROUND_URL,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
zn as ProcessPolyfill,
|
|
251
|
+
_m as Passports,
|
|
252
|
+
dl as PaymentStatus,
|
|
253
|
+
Dm as PendleAction,
|
|
254
|
+
El as PendleAssetType,
|
|
255
|
+
hl as PendleChains,
|
|
256
|
+
bl as PendleDashboardTabs,
|
|
257
|
+
Dl as PendleEarnTabs,
|
|
258
|
+
vm as PendleLPAction,
|
|
259
|
+
vl as PendleMarketTransactionTypes,
|
|
260
|
+
Ll as PendlePoolManualTabs,
|
|
261
|
+
wl as PendlePoolTabs,
|
|
262
|
+
Ul as PendlePoolZapTabs,
|
|
263
|
+
Bl as PendleSwapType,
|
|
264
|
+
Fl as PendleTabs,
|
|
265
|
+
_l as PendleTradeGeneralTabs,
|
|
266
|
+
Ml as PendleTradeTabs,
|
|
267
|
+
cl as PointType,
|
|
268
|
+
Pe as PopularTokenSymbols,
|
|
272
269
|
Nr as RELAYER_CONFIG,
|
|
273
270
|
Or as RELAYER_URLS,
|
|
274
271
|
et as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
275
272
|
rt as RafflePrizePoints,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
273
|
+
xl as RafflePrizeType,
|
|
274
|
+
gl as RewardPage,
|
|
275
|
+
ul as RewardsHistoryDistribution,
|
|
276
|
+
Al as RewardsHistoryEligibility,
|
|
277
|
+
yl as RewardsHistorySnapshots,
|
|
278
|
+
Rl as RewardsHistoryStatuses,
|
|
279
|
+
Tl as RewardsPageTabs,
|
|
283
280
|
Vr as SERVER_URLS,
|
|
284
281
|
Wr as STAGING_RELAYER_URLS,
|
|
285
282
|
Hr as STAGING_SERVER_URLS,
|
|
286
283
|
Gr as STAGING_URL,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
284
|
+
Hm as SlippageType,
|
|
285
|
+
Lm as StakeProvider,
|
|
286
|
+
Ol as StatType,
|
|
290
287
|
Cr as SupportedPassports,
|
|
291
|
-
|
|
292
|
-
|
|
288
|
+
kl as TIER_LEVEL,
|
|
289
|
+
Pl as Timeline,
|
|
293
290
|
_a as TokenChecker,
|
|
294
291
|
Va as TransactionType,
|
|
295
292
|
Na as TransactionsManager,
|
|
@@ -297,19 +294,19 @@ export {
|
|
|
297
294
|
Fi as USDR3CRVABI,
|
|
298
295
|
Ui as USDRABI,
|
|
299
296
|
Mi as USDTABI,
|
|
300
|
-
|
|
297
|
+
Vl as UpperTabPossibleValues,
|
|
301
298
|
$a as UserFriendlyErrorCodes,
|
|
302
299
|
Kt as UserKeys,
|
|
303
300
|
wa as Utxo,
|
|
304
|
-
|
|
301
|
+
Mm as VERIFICATION_TYPE,
|
|
305
302
|
wt as ValueCache,
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
Nm as VerificationTypes,
|
|
304
|
+
wm as VolatileAction,
|
|
308
305
|
Ga as VolatileHelper,
|
|
309
306
|
Oi as WETHABI,
|
|
310
307
|
Bt as abiDecodeUtxo,
|
|
311
308
|
As as absBigInt,
|
|
312
|
-
|
|
309
|
+
ap as addPaddingToUtxos,
|
|
313
310
|
Er as aipriseBaseOnboardingProductionUrl,
|
|
314
311
|
hr as aipriseBaseOnboardingSandboxUrl,
|
|
315
312
|
Lo as arbMainnetCrvCvxRegistry,
|
|
@@ -324,7 +321,7 @@ export {
|
|
|
324
321
|
Ge as axelar1Data,
|
|
325
322
|
Ye as axelar2Data,
|
|
326
323
|
ht as babyJubInstance,
|
|
327
|
-
|
|
324
|
+
lp as balanceChangedHandler,
|
|
328
325
|
Uo as baseCrvCvxRegistry,
|
|
329
326
|
Oe as baseData,
|
|
330
327
|
ye as baseRegistry,
|
|
@@ -339,19 +336,19 @@ export {
|
|
|
339
336
|
j as bnbMainnetRegistryFixed,
|
|
340
337
|
gt as bnbPendleRegistry,
|
|
341
338
|
ot as boostAmounts,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
339
|
+
kn as browserSupported,
|
|
340
|
+
hp as buildInNullifiers,
|
|
341
|
+
bp as buildOutCommitments,
|
|
342
|
+
Dp as calcAccessTokenSiblingsAndSides,
|
|
343
|
+
vp as calcAmountChanges,
|
|
344
|
+
Lp as calcCommitmentsSiblingAndSides,
|
|
345
|
+
wp as calcEncryptedOutputs,
|
|
346
|
+
Up as calcPublicSignalCount,
|
|
347
|
+
Bp as calcStealthAddressStructure,
|
|
348
|
+
ks as calculateAmountUsingBeeps,
|
|
349
|
+
Yn as calculateDollarValue,
|
|
350
|
+
Xp as calculateStakeNullifier,
|
|
351
|
+
Ps as calculateSum,
|
|
355
352
|
l as callOneInchAPI,
|
|
356
353
|
x as callRelayerTransactAPI,
|
|
357
354
|
Ln as capitalizeFirstLetter,
|
|
@@ -365,51 +362,51 @@ export {
|
|
|
365
362
|
yo as coingeckoPriceUrl,
|
|
366
363
|
Ro as coingeckoPriceUrl2,
|
|
367
364
|
To as coingeckoTokenListUrl,
|
|
368
|
-
|
|
369
|
-
|
|
365
|
+
Cp as constructEmporiumProof,
|
|
366
|
+
Sp as constructZkProof,
|
|
370
367
|
ur as contractMetadataMapping,
|
|
371
368
|
tn as convertIntegrationProviderToExternalActionId,
|
|
372
|
-
|
|
369
|
+
Fp as createCallDataHash,
|
|
373
370
|
Vs as createProvider,
|
|
374
|
-
|
|
371
|
+
Jp as createStakeCommitment,
|
|
375
372
|
je as crossChainAccessTokenNetworks,
|
|
376
373
|
to as crvSymbol,
|
|
377
|
-
|
|
378
|
-
|
|
374
|
+
Wl as curveNetworkNames,
|
|
375
|
+
Hl as curvePools,
|
|
379
376
|
ao as curveWithdrawGasTokenAddress,
|
|
380
377
|
io as curveZeroAddress,
|
|
381
378
|
Ba as customTokenRegistry,
|
|
382
379
|
so as cvxSymbol,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
380
|
+
ki as daiABI,
|
|
381
|
+
mm as dataBeefyApiConfig,
|
|
382
|
+
qm as dayInMilliseconds,
|
|
386
383
|
Hs as decodeMetadata,
|
|
387
384
|
In as decodeTxInput,
|
|
388
385
|
Cn as decodeTxLogs,
|
|
389
386
|
_t as decodeUtxo,
|
|
390
387
|
Mt as decodeUtxoConstructorArgs,
|
|
391
|
-
|
|
388
|
+
$p as decryptStake,
|
|
392
389
|
Ot as decryptUtxo,
|
|
393
390
|
Vt as decryptUtxoConstructorArgs,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
391
|
+
dm as defaultHookData,
|
|
392
|
+
cm as defaultHookDataArray,
|
|
393
|
+
xm as defaultStealthAddressStructure,
|
|
397
394
|
zr as deploymentMode,
|
|
398
|
-
|
|
395
|
+
_p as deserializeCircomData,
|
|
399
396
|
En as deserializeDecodedTxs,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
397
|
+
Yp as determinePendleSwapType,
|
|
398
|
+
zp as determinePendleSwapTypeApiRoute,
|
|
399
|
+
Qm as divideMonthOnIntervals,
|
|
400
|
+
tm as emporiumOp,
|
|
401
|
+
Ym as emptyDecodedTx,
|
|
402
|
+
gm as emptyStealthAddressStructure,
|
|
403
|
+
Sl as emptyUserPointsBreakdown,
|
|
404
|
+
Il as emptyUserPointsResponse,
|
|
405
|
+
am as encodeEmporiumMetadata,
|
|
406
|
+
em as encodeHStakeMetadata,
|
|
407
|
+
rm as encryptStake,
|
|
411
408
|
Wt as encryptUtxo,
|
|
412
|
-
|
|
409
|
+
Zp as erc20TokenFromPendleAsset,
|
|
413
410
|
ft as ethBeefyRegistry,
|
|
414
411
|
Bo as ethCrvCvxRegistry,
|
|
415
412
|
Le as ethMainnetData,
|
|
@@ -417,47 +414,47 @@ export {
|
|
|
417
414
|
z as ethMainnetRegistryFixed,
|
|
418
415
|
ut as ethPendleRegistry,
|
|
419
416
|
Wo as ethSymbol,
|
|
420
|
-
|
|
417
|
+
zn as ethToWei,
|
|
421
418
|
no as ethVolatileAddress,
|
|
422
419
|
Wa as externalActionToTransactionType,
|
|
423
420
|
oi as extractMessage,
|
|
424
421
|
hi as factoryABI,
|
|
425
422
|
At as findSyAddress,
|
|
426
423
|
Ss as fixDecimalsAmount,
|
|
427
|
-
|
|
424
|
+
Op as generateZkProof,
|
|
428
425
|
Gs as getActionFromMetadata,
|
|
429
426
|
nr as getAmountAfterRelayAndFlatFees,
|
|
430
427
|
pr as getAmountAfterRelayAndFlatFeesAndSlippage,
|
|
431
428
|
mr as getAmountAfterRelayFee,
|
|
432
429
|
lr as getAmountAfterSlippage,
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
430
|
+
Zn as getAmountInToken,
|
|
431
|
+
qn as getAmountInWei,
|
|
432
|
+
Qn as getAmountInWeiOrZero,
|
|
433
|
+
jn as getAmountWithPrecision,
|
|
434
|
+
Xn as getAmountWithPrecisionOrZero,
|
|
438
435
|
fr as getAmountWithoutFee,
|
|
439
|
-
|
|
436
|
+
qp as getAssetTypeFromPendleMarket,
|
|
440
437
|
u as getAxelarGasEstimate,
|
|
441
438
|
Rn as getAxelarMigrationInfo,
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
439
|
+
d as getBeefyHistoricalChartData,
|
|
440
|
+
dt as getBeefyRegistryWithChainId,
|
|
441
|
+
Wp as getCRV,
|
|
442
|
+
Gp as getCVX,
|
|
446
443
|
Oo as getCalcTokenAmountWithDynamicArray,
|
|
447
444
|
zt as getCircomSign,
|
|
448
|
-
|
|
449
|
-
|
|
445
|
+
ko as getCoingeckoIdForNativeTokens,
|
|
446
|
+
Po as getCoingeckoPlatform,
|
|
450
447
|
i as getCoingeckoPrice,
|
|
451
448
|
s as getCoingeckoPrice2,
|
|
452
449
|
n as getCoingeckoPrices,
|
|
453
450
|
p as getCoingeckoTokenList,
|
|
454
451
|
Fo as getCrvCvxWithChainId,
|
|
455
|
-
|
|
452
|
+
jm as getCurrentWeek,
|
|
456
453
|
v as getCurvePools,
|
|
457
454
|
L as getCurvePoolsforPriceFetching,
|
|
458
455
|
o as getDataServerURL,
|
|
459
|
-
|
|
460
|
-
|
|
456
|
+
Xm as getDateFromWeek,
|
|
457
|
+
np as getDepositEvents,
|
|
461
458
|
Ie as getERC20Registry,
|
|
462
459
|
qs as getERC20Token,
|
|
463
460
|
Qs as getERC20TokenBySymbol,
|
|
@@ -473,37 +470,37 @@ export {
|
|
|
473
470
|
ja as getGenericFeeOverTransactionValueErrorMessage,
|
|
474
471
|
js as getHToken,
|
|
475
472
|
Bs as getHinkalCache,
|
|
476
|
-
|
|
473
|
+
dr as getHinkalFeeRateInBeeps,
|
|
477
474
|
Ar as getHinkalParameters,
|
|
478
475
|
E as getIdleRelay,
|
|
479
|
-
|
|
480
|
-
|
|
476
|
+
rp as getInputUtxoAndBalance,
|
|
477
|
+
op as getInputUtxosFromEncryptedOutputs,
|
|
481
478
|
sn as getInteractionFromAction,
|
|
482
479
|
un as getNetworkObject,
|
|
483
480
|
An as getNetworkType,
|
|
484
|
-
|
|
481
|
+
Jm as getNextDay,
|
|
485
482
|
Xe as getNonLocalhostChainId,
|
|
486
|
-
|
|
487
|
-
|
|
483
|
+
Ap as getOdosPrice,
|
|
484
|
+
Rp as getOneInchPrice,
|
|
488
485
|
yt as getPendleRegistryWithChainId,
|
|
489
486
|
N as getPublicWalletBalance,
|
|
490
|
-
|
|
487
|
+
cr as getRelayFee,
|
|
491
488
|
_ as getRelayerURL,
|
|
492
489
|
en as getSequence,
|
|
493
490
|
t as getServerURL,
|
|
494
|
-
|
|
491
|
+
ip as getShieldedBalance,
|
|
495
492
|
xr as getSlippageFee,
|
|
496
|
-
|
|
493
|
+
Qp as getTokenIndexForPendleFlatFee,
|
|
497
494
|
T as getTokenPrice,
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
495
|
+
k as getTokenPriceEth,
|
|
496
|
+
P as getTokenPrices,
|
|
497
|
+
dp as getUniswapFee,
|
|
498
|
+
cp as getUniswapPrice,
|
|
499
|
+
xp as getUniswapPriceHelper,
|
|
503
500
|
Is as getValueFirstNDigit,
|
|
504
|
-
|
|
501
|
+
$m as getWeekTimestamps,
|
|
505
502
|
Rt as getYtTokensWithChainId,
|
|
506
|
-
|
|
503
|
+
el as hasCertificationPeriodExpired,
|
|
507
504
|
Xt as hinkalActionBeefy,
|
|
508
505
|
$t as hinkalActionConvex,
|
|
509
506
|
ra as hinkalActionCurve,
|
|
@@ -513,9 +510,9 @@ export {
|
|
|
513
510
|
xa as hinkalPrivateWallet,
|
|
514
511
|
pa as hinkalSwap,
|
|
515
512
|
la as hinkalTransfer,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
513
|
+
da as hinkalWithdraw,
|
|
514
|
+
rl as hourInMilliseconds,
|
|
515
|
+
lm as isBeefyDeposit,
|
|
519
516
|
Zt as isCircomNegative,
|
|
520
517
|
Zr as isDevelopment,
|
|
521
518
|
Je as isLocalNetwork,
|
|
@@ -529,7 +526,7 @@ export {
|
|
|
529
526
|
jr as isPlayground,
|
|
530
527
|
Xr as isStaging,
|
|
531
528
|
Jr as isWebpack,
|
|
532
|
-
|
|
529
|
+
ol as isWeekCurrent,
|
|
533
530
|
Tt as isYtToken,
|
|
534
531
|
bt as jubHolder,
|
|
535
532
|
Gi as lidoStEthAbi,
|
|
@@ -557,21 +554,21 @@ export {
|
|
|
557
554
|
Cs as minBigInt,
|
|
558
555
|
ls as mintAccessToken,
|
|
559
556
|
fs as mintTokenCrossChain,
|
|
560
|
-
|
|
557
|
+
tl as minuteInMilliseconds,
|
|
561
558
|
za as multiThreadedUtxoUtils,
|
|
562
559
|
tr as networkRegistry,
|
|
563
560
|
po as oneInchZeroAddress,
|
|
564
561
|
gs as openDefaultPassportWindow,
|
|
565
|
-
|
|
562
|
+
cs as openPassportWindow,
|
|
566
563
|
_o as optimismCrvCvxRegistry,
|
|
567
564
|
Ue as optimismData,
|
|
568
565
|
ns as optimismGasPriceOracleAbi,
|
|
569
|
-
|
|
566
|
+
kt as optimismPendleRegistry,
|
|
570
567
|
ue as optimismRegistry,
|
|
571
568
|
oe as optimismRegistryFixed,
|
|
572
569
|
pn as outputUtxoProcessing,
|
|
573
570
|
mo as ownerPublicKey,
|
|
574
|
-
|
|
571
|
+
al as parseWeek,
|
|
575
572
|
Gn as patchRegistry,
|
|
576
573
|
lo as permitSignatureValidFor,
|
|
577
574
|
Qi as poLidoNftAbi,
|
|
@@ -579,7 +576,7 @@ export {
|
|
|
579
576
|
it as pointsLink,
|
|
580
577
|
Mo as polygonCrvCvxRegistry,
|
|
581
578
|
Fe as polygonData,
|
|
582
|
-
|
|
579
|
+
de as polygonRegistry,
|
|
583
580
|
J as polygonRegistryFixed,
|
|
584
581
|
St as poseidonFunction,
|
|
585
582
|
It as poseidonHash,
|
|
@@ -587,12 +584,12 @@ export {
|
|
|
587
584
|
vt as preProcessing,
|
|
588
585
|
So as proCoingeckoUrl,
|
|
589
586
|
Io as proHeader,
|
|
590
|
-
|
|
587
|
+
dn as processAmountChanges,
|
|
591
588
|
ln as processGasEstimates,
|
|
592
|
-
|
|
589
|
+
nm as produceOp,
|
|
593
590
|
Ci as quoterV2ABI,
|
|
594
591
|
st as raffleProgramStartWeek,
|
|
595
|
-
|
|
592
|
+
Jn as randomBigInt,
|
|
596
593
|
nt as referralLink,
|
|
597
594
|
Dn as reloadPage,
|
|
598
595
|
Js as requireEnv,
|
|
@@ -600,25 +597,25 @@ export {
|
|
|
600
597
|
ua as resetMerkleTrees,
|
|
601
598
|
rn as resolveSync,
|
|
602
599
|
Xa as rethrowKnownGasErrorIfPossible,
|
|
603
|
-
|
|
604
|
-
|
|
600
|
+
pp as retrieveEvents,
|
|
601
|
+
kp as runContractFunction,
|
|
605
602
|
Di as sanctionsListABI,
|
|
606
603
|
Ms as saveTxsCache,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
604
|
+
gp as searchPoolAndFee,
|
|
605
|
+
il as secondInMilliseconds,
|
|
606
|
+
Mp as serializeCircomData,
|
|
610
607
|
hn as serializeDecodedTxs,
|
|
611
608
|
Ns as setHinkalCache,
|
|
612
609
|
fo as signaturePhrase,
|
|
613
|
-
|
|
610
|
+
Gm as slippageLevels,
|
|
614
611
|
Qo as stMaticSymbol,
|
|
615
612
|
br as supportedPassportLinks,
|
|
616
613
|
co as threePoolSymbol,
|
|
617
614
|
Es as toBigInt,
|
|
618
615
|
hs as toBigIntOrUndefined,
|
|
619
|
-
|
|
616
|
+
$n as toBigIntWithDecimals,
|
|
620
617
|
bs as toCommaSeparatedNumberString,
|
|
621
|
-
|
|
618
|
+
sl as toDateString,
|
|
622
619
|
Ds as toInt,
|
|
623
620
|
vs as toNumberOrUndefined,
|
|
624
621
|
Un as toTitleCase,
|
|
@@ -629,13 +626,13 @@ export {
|
|
|
629
626
|
yr as uniswapV2PoolData,
|
|
630
627
|
Rr as uniswapV3FactoryData,
|
|
631
628
|
Tr as uniswapV3PoolData,
|
|
632
|
-
|
|
629
|
+
kr as uniswapV3QuoterData,
|
|
633
630
|
H as urlForBeefyVaultTokens,
|
|
634
631
|
G as urlForBeefyVaultTotalInUSD,
|
|
635
632
|
K as urlForRegularTokenPricesInBeefy,
|
|
636
633
|
Wn as waitLittle,
|
|
637
|
-
|
|
638
|
-
|
|
634
|
+
Pn as walletSupported,
|
|
635
|
+
nl as weekInMilliseconds,
|
|
639
636
|
jo as wstEthSymbol,
|
|
640
637
|
xo as zeroAddress
|
|
641
638
|
};
|