@hinkal/common 0.1.37 → 0.1.39
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/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +1 -0
- package/data-structures/Hinkal/Hinkal.mjs +15 -14
- package/data-structures/Hinkal/IHinkal.d.ts +1 -0
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +0 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +6 -8
- package/functions/utils/cacheFunctions.cjs +1 -1
- package/functions/utils/cacheFunctions.d.ts +7 -5
- package/functions/utils/cacheFunctions.mjs +36 -30
- package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.mjs +39 -46
- package/index.cjs +1 -1
- package/index.mjs +333 -334
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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";
|
|
@@ -24,7 +24,7 @@ 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";
|
|
@@ -42,7 +42,7 @@ 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
|
|
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
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
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";
|
|
@@ -56,7 +56,7 @@ import { getCalcTokenAmountWithDynamicArray as Vo } from "./constants/crvDynamic
|
|
|
56
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
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
58
|
import { blockReorgDepth as lt } from "./constants/reorg-depths.constants.mjs";
|
|
59
|
-
import { ethBeefyRegistry as
|
|
59
|
+
import { ethBeefyRegistry as ct, getBeefyRegistryWithChainId as dt } from "./constants/beefy.registry.mjs";
|
|
60
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
61
|
import { poseidonFunction as Ct, poseidonHash as It, poseidonHolder as Et } from "./crypto/poseidon.mjs";
|
|
62
62
|
import { babyJubInstance as bt, jubHolder as Dt } from "./crypto/babyJub.mjs";
|
|
@@ -74,7 +74,7 @@ import { hinkalActionPendle as aa } from "./data-structures/Hinkal/hinkalActionP
|
|
|
74
74
|
import { hinkalDeposit as sa, hinkalDepositForOther as na } from "./data-structures/Hinkal/hinkalDeposit.mjs";
|
|
75
75
|
import { hinkalSwap as ma } from "./data-structures/Hinkal/hinkalSwap.mjs";
|
|
76
76
|
import { hinkalTransfer as fa } 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 ga } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
|
|
79
79
|
import { resetMerkleTrees as Aa } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
|
|
80
80
|
import { MerkleTree as Ra } from "./data-structures/merkle-tree/MerkleTree.mjs";
|
|
@@ -90,100 +90,100 @@ import { TokenChecker as Ma } from "./data-structures/token-price-fetcher/TokenC
|
|
|
90
90
|
import { TransactionsManager as Oa } from "./data-structures/transactions-manager/TransactionsManager.mjs";
|
|
91
91
|
import { TransactionType as Wa, externalActionToTransactionType as Ha } from "./data-structures/transactions-manager/history/history.types.mjs";
|
|
92
92
|
import { VolatileHelper as Ka } from "./data-structures/volatile-helper/VolatileHelper.mjs";
|
|
93
|
-
import { MultiThreadedUtxoUtils as za
|
|
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
|
|
93
|
+
import { MultiThreadedUtxoUtils as za } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
|
|
94
|
+
import { FeeOverTransactionValueError as qa } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
|
|
95
|
+
import { getGenericFeeOverTransactionValueErrorMessage as ja, rethrowKnownGasErrorIfPossible as Xa } from "./error-handling/customErrors/customErrors.helpers.mjs";
|
|
96
|
+
import { UserFriendlyErrorCodes as $a, transactionErrorCodes as ei } from "./error-handling/error-codes.constants.mjs";
|
|
97
|
+
import { extractMessage as oi, getErrorMessage as ti } from "./error-handling/get-error.message.mjs";
|
|
98
|
+
import { checkErrorForSnapshotRestore as ii } from "./error-handling/handleErrorRestore.mjs";
|
|
99
|
+
import { logError as ni } from "./error-handling/logError.mjs";
|
|
100
|
+
import { ErrorCategory as mi } from "./error-handling/types.mjs";
|
|
101
|
+
import { abi as fi } from "./externalABIs/amToken.mjs";
|
|
102
|
+
import { abi as di } from "./externalABIs/BeefyVaultAbi.json.mjs";
|
|
103
|
+
import { abi as gi } from "./externalABIs/BUSD.mjs";
|
|
104
|
+
import { abi as Ai } from "./externalABIs/CurveReadingWrapperAbi.json.mjs";
|
|
105
|
+
import { abi as Ri } from "./externalABIs/CurveWrappedMainPool.json.mjs";
|
|
106
|
+
import { abi as ki } from "./externalABIs/DAI.mjs";
|
|
107
|
+
import { abi as Si } from "./externalABIs/ERC20.json.mjs";
|
|
108
|
+
import { abi as Ii } from "./externalABIs/IQuoterV2.json.mjs";
|
|
109
|
+
import { abi as hi } from "./externalABIs/IUniswapV3Factory.json.mjs";
|
|
110
|
+
import { abi as Di } from "./externalABIs/SanctionsList.mjs";
|
|
111
|
+
import { abi as wi } from "./externalABIs/USDC.mjs";
|
|
112
|
+
import { abi as Ui } from "./externalABIs/USDR.mjs";
|
|
113
|
+
import { abi as Fi } from "./externalABIs/USDR3CRV.mjs";
|
|
114
|
+
import { abi as Mi } from "./externalABIs/USDT.mjs";
|
|
115
|
+
import { abi as Oi } from "./externalABIs/WETH.mjs";
|
|
116
|
+
import { abi as Wi } from "./externalABIs/ISwapRouter.json.mjs";
|
|
117
|
+
import { default as Gi } from "./externalABIs/LidoStEthAbi.json.mjs";
|
|
118
|
+
import { default as Yi } from "./externalABIs/LidoStMaticAbi.json.mjs";
|
|
119
|
+
import { default as Zi } from "./externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs";
|
|
120
|
+
import { default as Qi } from "./externalABIs/PoLidoNftAbi.json.mjs";
|
|
121
|
+
import { default as Xi } from "./externalABIs/LidoWstEthAbi.json.mjs";
|
|
122
|
+
import { default as $i } from "./externalABIs/LidoStakeManagerAbi.json.mjs";
|
|
123
|
+
import { abi as rs } from "./externalABIs/transactionsProver.json.mjs";
|
|
124
|
+
import { abi as ts } from "./externalABIs/BabPassport.json.mjs";
|
|
125
|
+
import { abi as is } from "./externalABIs/GalxePassport.json.mjs";
|
|
126
|
+
import { default as ns } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
127
|
+
import { checkHinkalAccessToken as ms, mintAccessToken as ls, mintTokenCrossChain as fs } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
|
|
128
|
+
import { openPassportWindow as ds } from "./functions/kyc/passportHelper.mjs";
|
|
129
|
+
import { openDefaultPassportWindow as gs } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
130
|
+
import { absBigInt as As, beepsToPercentage as ys, bigintApplySugar as Rs, bigintMax as Ts, calculateAmountUsingBeeps as ks, calculateSum as Ps, fixDecimalsAmount as Ss, getValueFirstNDigit as Cs, minBigInt as Is, toBigInt as Es, toBigIntOrUndefined as hs, toCommaSeparatedNumberString as bs, toInt as Ds, toNumberOrUndefined as vs, trimLeadingZeros as ws, truncateTo18DecimalPlaces as Ls } from "./functions/utils/amounts.utils.mjs";
|
|
131
|
+
import { getHinkalCache as Bs, loadTxsCache as Fs, resetCache as _s, saveTxsCache as Ms, setHinkalCache as Ns } from "./functions/utils/cacheFunctions.mjs";
|
|
132
|
+
import { createProvider as Vs } from "./functions/utils/create-provider.mjs";
|
|
133
|
+
import { decodeMetadata as Hs, getActionFromMetadata as Gs, getExternalActionIdFromNumber as Ks, getExternalActionIdHash as Ys, getExternalMetadataHash as zs } from "./functions/utils/external-action.utils.mjs";
|
|
134
|
+
import { getERC20Token as qs, getERC20TokenBySymbol as Qs, getHToken as js } from "./functions/utils/erc20tokenFunctions.mjs";
|
|
135
|
+
import { requireEnv as Js } from "./functions/utils/requireEnv.mjs";
|
|
136
|
+
import { getSequence as en, resolveSync as rn } from "./functions/utils/resolve-sync.utils.mjs";
|
|
137
|
+
import { convertIntegrationProviderToExternalActionId as tn } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
|
|
138
|
+
import { getInteractionFromAction as sn } from "./functions/pre-transaction/interaction-to-action.mjs";
|
|
139
|
+
import { outputUtxoProcessing as pn } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
|
|
140
|
+
import { processGasEstimates as ln } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
141
141
|
import { processAmountChanges as cn } from "./functions/pre-transaction/processAmountChanges.mjs";
|
|
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 cm, isBeefyDeposit as
|
|
174
|
-
import { defaultHookData as
|
|
175
|
-
import { ContractType as
|
|
176
|
-
import { ExternalActionId as
|
|
177
|
-
import { BeefyAction as
|
|
178
|
-
import { KycVerificationResult as
|
|
179
|
-
import { ApprovalType as
|
|
180
|
-
import { SlippageType as
|
|
181
|
-
import { emptyDecodedTx as
|
|
182
|
-
import { MONTHS as
|
|
183
|
-
import { BonusType as cl, CertifyType as
|
|
184
|
-
import { PendleAssetType as
|
|
185
|
-
import { StatType as
|
|
186
|
-
import { HinkalStakeMode as
|
|
142
|
+
import { getFlatFees as xn } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
143
|
+
import { getNetworkObject as un, getNetworkType as An } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
144
|
+
import { getAxelarMigrationInfo as Rn } from "./functions/utils/axelar.utils.mjs";
|
|
145
|
+
import { browserSupported as kn, walletSupported as Pn } from "./functions/utils/userAgent.mjs";
|
|
146
|
+
import { decodeTxInput as Cn, decodeTxLogs as In, deserializeDecodedTxs as En, serializeDecodedTxs as hn } from "./functions/utils/getDataFromTransaction.mjs";
|
|
147
|
+
import { reloadPage as Dn } from "./functions/utils/reloadPage.mjs";
|
|
148
|
+
import { capitalizeFirstLetter as wn, isNullOrEmpty as Ln, toTitleCase as Un } from "./functions/utils/string.utils.mjs";
|
|
149
|
+
import { isNicknameValid as Fn } from "./functions/utils/nickname.utils.mjs";
|
|
150
|
+
import { caseInsensitiveEqual as Mn, lowerCaseIncludes as Nn, lowerCaseStartsWith as On } from "./functions/utils/caseInsensitive.utils.mjs";
|
|
151
|
+
import { waitLittle as Wn } from "./functions/utils/time.utils.mjs";
|
|
152
|
+
import { patchRegistry as Gn } from "./functions/utils/volatile-patcher.utils.mjs";
|
|
153
|
+
import { debounce as Yn, wait as zn } from "./functions/utils/process.utils.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 Pp } from "./functions/web3/oneInchAPI.mjs";
|
|
162
|
+
import { runContractFunction as Cp } 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 wp, calcAccessTokenSiblingsAndSides as Lp, 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 Pm } from "./types/external-action.types.mjs";
|
|
177
|
+
import { BeefyAction as Cm, ConvexAction as Im, CurveAction as Em, EventType as hm, INTERACTION as bm, IntegrationProvider as Dm, LidoAction as vm, LidoVariant as wm, PendleAction as Lm, 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 kl, RewardsHistoryStatuses as Pl, RewardsPageTabs as Sl, TIER_LEVEL as Cl, Timeline as Il, emptyUserPointsBreakdown as El, emptyUserPointsResponse as hl } from "./types/rewards.types.mjs";
|
|
184
|
+
import { PendleAssetType as Dl, PendleChains as vl, PendleDashboardTabs as wl, PendleEarnTabs as Ll, 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";
|
|
187
187
|
export {
|
|
188
188
|
$o as ACCESS_TOKEN_MINTING_POINTS,
|
|
189
189
|
Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
|
@@ -195,119 +195,119 @@ export {
|
|
|
195
195
|
wa as AbstractEventService,
|
|
196
196
|
ha as AbstractNullifierSnapshotService,
|
|
197
197
|
Da as AbstractSnapshotService,
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
fi as AmTokenABI,
|
|
199
|
+
Gm as ApprovalType,
|
|
200
200
|
ho as AxelarRegistry,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
gi as BUSDABI,
|
|
202
|
+
ts as BabABI,
|
|
203
|
+
Cm as BeefyAction,
|
|
204
|
+
di as BeefyVaultABI,
|
|
205
205
|
cl as BonusType,
|
|
206
206
|
et as CERTIFICATION_DISABLE_WEEK,
|
|
207
207
|
ro as CIRCOM_P,
|
|
208
208
|
oo as CIRCOM_P_HALF,
|
|
209
209
|
Ao as COINGECKO_API_KEY,
|
|
210
|
-
|
|
210
|
+
dl as CertifyType,
|
|
211
211
|
yo as CoinGeckoChainLabels,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
Tm as ContractType,
|
|
213
|
+
Im as ConvexAction,
|
|
214
|
+
Em as CurveAction,
|
|
215
|
+
Ai as CurveReadingWrapperABI,
|
|
216
|
+
Ri 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
|
-
|
|
222
|
+
Si as ERC20ABI,
|
|
223
223
|
Kt as EncryptionKeyPairDefaultValue,
|
|
224
|
-
|
|
224
|
+
mi as ErrorCategory,
|
|
225
225
|
Ze as EthereumNetworkType,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
hm as EventType,
|
|
227
|
+
Pm as ExternalActionId,
|
|
228
|
+
qa as FeeOverTransactionValueError,
|
|
229
|
+
is as GalxeABI,
|
|
230
230
|
ir as HINKAL_EXTERNAL_ACTION_FEE,
|
|
231
231
|
sr as HINKAL_UNIVERSAL_FEE,
|
|
232
232
|
jt as Hinkal,
|
|
233
|
-
|
|
233
|
+
Zl as HinkalStakeMode,
|
|
234
234
|
V as IMAGE_PATHS,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
235
|
+
bm as INTERACTION,
|
|
236
|
+
Wi as ISwapRouterABI,
|
|
237
|
+
Dm as IntegrationProvider,
|
|
238
|
+
Mm as KycVerificationResult,
|
|
239
|
+
Nm as KycVerificationStatus,
|
|
240
|
+
xl as LP_TIER,
|
|
241
|
+
vm as LidoAction,
|
|
242
|
+
wm as LidoVariant,
|
|
243
|
+
jm as MONTHS,
|
|
244
244
|
Ra as MerkleTree,
|
|
245
245
|
ka as MerkleTreeIncompleteError,
|
|
246
246
|
za as MultiThreadedUtxoUtils,
|
|
247
247
|
Do as NETWORKS,
|
|
248
|
-
|
|
248
|
+
mm as OpType,
|
|
249
249
|
Fr as PLAYGROUND_RELAYER_URLS,
|
|
250
250
|
_r as PLAYGROUND_SERVER_URLS,
|
|
251
251
|
Mr as PLAYGROUND_URL,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
252
|
+
Om as Passports,
|
|
253
|
+
gl as PaymentStatus,
|
|
254
|
+
Lm as PendleAction,
|
|
255
|
+
Dl as PendleAssetType,
|
|
256
|
+
vl as PendleChains,
|
|
257
|
+
wl as PendleDashboardTabs,
|
|
258
|
+
Ll as PendleEarnTabs,
|
|
259
|
+
Um as PendleLPAction,
|
|
260
|
+
Ul as PendleMarketTransactionTypes,
|
|
261
|
+
Bl as PendlePoolManualTabs,
|
|
262
|
+
Fl as PendlePoolTabs,
|
|
263
|
+
_l as PendlePoolZapTabs,
|
|
264
|
+
Ml as PendleSwapType,
|
|
265
|
+
Nl as PendleTabs,
|
|
266
|
+
Ol as PendleTradeGeneralTabs,
|
|
267
|
+
Vl as PendleTradeTabs,
|
|
268
|
+
ul as PointType,
|
|
269
269
|
Pe as PopularTokenSymbols,
|
|
270
270
|
Nr as RELAYER_CONFIG,
|
|
271
271
|
Or as RELAYER_URLS,
|
|
272
272
|
rt as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
273
273
|
ot as RafflePrizePoints,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
274
|
+
Al as RafflePrizeType,
|
|
275
|
+
yl as RewardPage,
|
|
276
|
+
Rl as RewardsHistoryDistribution,
|
|
277
|
+
Tl as RewardsHistoryEligibility,
|
|
278
|
+
kl as RewardsHistorySnapshots,
|
|
279
|
+
Pl as RewardsHistoryStatuses,
|
|
280
|
+
Sl 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
|
+
Ym as SlippageType,
|
|
286
|
+
Bm as StakeProvider,
|
|
287
|
+
Hl as StatType,
|
|
288
288
|
Ir as SupportedPassports,
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
Cl as TIER_LEVEL,
|
|
290
|
+
Il as Timeline,
|
|
291
291
|
Ma as TokenChecker,
|
|
292
292
|
Wa as TransactionType,
|
|
293
293
|
Oa as TransactionsManager,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
294
|
+
wi as USDCABI,
|
|
295
|
+
Fi as USDR3CRVABI,
|
|
296
|
+
Ui as USDRABI,
|
|
297
|
+
Mi as USDTABI,
|
|
298
|
+
Gl as UpperTabPossibleValues,
|
|
299
|
+
$a as UserFriendlyErrorCodes,
|
|
300
300
|
Yt as UserKeys,
|
|
301
301
|
Ua as Utxo,
|
|
302
|
-
|
|
302
|
+
Vm as VERIFICATION_TYPE,
|
|
303
303
|
Ut as ValueCache,
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
Wm as VerificationTypes,
|
|
305
|
+
Fm as VolatileAction,
|
|
306
306
|
Ka as VolatileHelper,
|
|
307
|
-
|
|
307
|
+
Oi as WETHABI,
|
|
308
308
|
Ft as abiDecodeUtxo,
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
As as absBigInt,
|
|
310
|
+
np as addPaddingToUtxos,
|
|
311
311
|
Er as aipriseBaseOnboardingProductionUrl,
|
|
312
312
|
hr as aipriseBaseOnboardingSandboxUrl,
|
|
313
313
|
Lo as arbMainnetCrvCvxRegistry,
|
|
@@ -322,126 +322,126 @@ export {
|
|
|
322
322
|
Ge as axelar1Data,
|
|
323
323
|
Ye as axelar2Data,
|
|
324
324
|
bt as babyJubInstance,
|
|
325
|
-
|
|
325
|
+
dp as balanceChangedHandler,
|
|
326
326
|
Bo as baseCrvCvxRegistry,
|
|
327
327
|
Oe as baseData,
|
|
328
328
|
ye as baseRegistry,
|
|
329
329
|
ae as baseRegistryFixed,
|
|
330
330
|
to as beefyChainIds,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
331
|
+
ys as beepsToPercentage,
|
|
332
|
+
Rs as bigintApplySugar,
|
|
333
|
+
Ts as bigintMax,
|
|
334
334
|
lt as blockReorgDepth,
|
|
335
335
|
he as bnbMainnetData,
|
|
336
336
|
le as bnbMainnetRegistry,
|
|
337
337
|
j as bnbMainnetRegistryFixed,
|
|
338
338
|
ut as bnbPendleRegistry,
|
|
339
339
|
tt as boostAmounts,
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
340
|
+
kn as browserSupported,
|
|
341
|
+
vp as buildInNullifiers,
|
|
342
|
+
wp as buildOutCommitments,
|
|
343
|
+
Lp as calcAccessTokenSiblingsAndSides,
|
|
344
|
+
Up as calcAmountChanges,
|
|
345
|
+
Bp as calcCommitmentsSiblingAndSides,
|
|
346
|
+
Fp as calcEncryptedOutputs,
|
|
347
|
+
_p as calcPublicSignalCount,
|
|
348
|
+
Mp as calcStealthAddressStructure,
|
|
349
|
+
ks as calculateAmountUsingBeeps,
|
|
350
|
+
qn as calculateDollarValue,
|
|
351
|
+
em as calculateStakeNullifier,
|
|
352
|
+
Ps as calculateSum,
|
|
353
353
|
l as callOneInchAPI,
|
|
354
354
|
x as callRelayerTransactAPI,
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
wn as capitalizeFirstLetter,
|
|
356
|
+
Mn as caseInsensitiveEqual,
|
|
357
357
|
qe as chainIds,
|
|
358
358
|
Qe as chainIdsByType,
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
ii as checkErrorForSnapshotRestore,
|
|
360
|
+
ms as checkHinkalAccessToken,
|
|
361
361
|
C as checkRisk,
|
|
362
362
|
_t as checkUtxoSignature,
|
|
363
363
|
Ro as coingeckoPriceUrl,
|
|
364
364
|
To as coingeckoPriceUrl2,
|
|
365
365
|
ko as coingeckoTokenListUrl,
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
bp as constructEmporiumProof,
|
|
367
|
+
Ep as constructZkProof,
|
|
368
368
|
ur as contractMetadataMapping,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
369
|
+
tn as convertIntegrationProviderToExternalActionId,
|
|
370
|
+
Np as createCallDataHash,
|
|
371
|
+
Vs as createProvider,
|
|
372
|
+
rm as createStakeCommitment,
|
|
373
373
|
je as crossChainAccessTokenNetworks,
|
|
374
374
|
ao as crvSymbol,
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
Kl as curveNetworkNames,
|
|
376
|
+
Yl as curvePools,
|
|
377
377
|
io as curveWithdrawGasTokenAddress,
|
|
378
378
|
so as curveZeroAddress,
|
|
379
379
|
Fa as customTokenRegistry,
|
|
380
380
|
no as cvxSymbol,
|
|
381
|
-
|
|
381
|
+
ki as daiABI,
|
|
382
382
|
cm as dataBeefyApiConfig,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
383
|
+
Xm as dayInMilliseconds,
|
|
384
|
+
Yn as debounce,
|
|
385
|
+
Hs as decodeMetadata,
|
|
386
|
+
Cn as decodeTxInput,
|
|
387
|
+
In as decodeTxLogs,
|
|
388
388
|
Mt as decodeUtxo,
|
|
389
389
|
Nt as decodeUtxoConstructorArgs,
|
|
390
|
-
|
|
390
|
+
om as decryptStake,
|
|
391
391
|
Vt as decryptUtxo,
|
|
392
392
|
Wt as decryptUtxoConstructorArgs,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
gm as defaultHookData,
|
|
394
|
+
um as defaultHookDataArray,
|
|
395
|
+
Am as defaultStealthAddressStructure,
|
|
396
396
|
zr as deploymentMode,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
397
|
+
Op as deserializeCircomData,
|
|
398
|
+
En as deserializeDecodedTxs,
|
|
399
|
+
qp as determinePendleSwapType,
|
|
400
|
+
Qp as determinePendleSwapTypeApiRoute,
|
|
401
|
+
Jm as divideMonthOnIntervals,
|
|
402
|
+
sm as emporiumOp,
|
|
403
|
+
qm as emptyDecodedTx,
|
|
404
|
+
ym as emptyStealthAddressStructure,
|
|
405
|
+
El as emptyUserPointsBreakdown,
|
|
406
|
+
hl as emptyUserPointsResponse,
|
|
407
|
+
nm as encodeEmporiumMetadata,
|
|
408
|
+
tm as encodeHStakeMetadata,
|
|
409
|
+
am as encryptStake,
|
|
410
410
|
Ht as encryptUtxo,
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
jp as erc20TokenFromPendleAsset,
|
|
412
|
+
ct as ethBeefyRegistry,
|
|
413
413
|
Fo as ethCrvCvxRegistry,
|
|
414
414
|
we as ethMainnetData,
|
|
415
415
|
se as ethMainnetRegistry,
|
|
416
416
|
z as ethMainnetRegistryFixed,
|
|
417
417
|
At as ethPendleRegistry,
|
|
418
418
|
Ho as ethSymbol,
|
|
419
|
-
|
|
419
|
+
Qn as ethToWei,
|
|
420
420
|
po as ethVolatileAddress,
|
|
421
421
|
Ha as externalActionToTransactionType,
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
oi as extractMessage,
|
|
423
|
+
hi as factoryABI,
|
|
424
424
|
yt as findSyAddress,
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
Ss as fixDecimalsAmount,
|
|
426
|
+
Hp as generateZkProof,
|
|
427
|
+
Gs 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
|
+
jn as getAmountInToken,
|
|
433
|
+
Xn as getAmountInWei,
|
|
434
|
+
Jn as getAmountInWeiOrZero,
|
|
435
|
+
$n as getAmountWithPrecision,
|
|
436
|
+
ep as getAmountWithPrecisionOrZero,
|
|
437
437
|
fr as getAmountWithoutFee,
|
|
438
|
-
|
|
438
|
+
Xp as getAssetTypeFromPendleMarket,
|
|
439
439
|
u as getAxelarGasEstimate,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
440
|
+
Rn as getAxelarMigrationInfo,
|
|
441
|
+
c as getBeefyHistoricalChartData,
|
|
442
|
+
dt as getBeefyRegistryWithChainId,
|
|
443
|
+
Kp as getCRV,
|
|
444
|
+
zp as getCVX,
|
|
445
445
|
Vo as getCalcTokenAmountWithDynamicArray,
|
|
446
446
|
Zt as getCircomSign,
|
|
447
447
|
Po as getCoingeckoIdForNativeTokens,
|
|
@@ -451,58 +451,58 @@ export {
|
|
|
451
451
|
n as getCoingeckoPrices,
|
|
452
452
|
p as getCoingeckoTokenList,
|
|
453
453
|
_o as getCrvCvxWithChainId,
|
|
454
|
-
|
|
454
|
+
$m as getCurrentWeek,
|
|
455
455
|
v as getCurvePools,
|
|
456
456
|
w as getCurvePoolsforPriceFetching,
|
|
457
457
|
o as getDataServerURL,
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
el as getDateFromWeek,
|
|
459
|
+
lp as getDepositEvents,
|
|
460
460
|
Ce as getERC20Registry,
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
461
|
+
qs as getERC20Token,
|
|
462
|
+
Qs as getERC20TokenBySymbol,
|
|
463
|
+
ti as getErrorMessage,
|
|
464
464
|
L as getExtendedPoolInfo,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
Ks as getExternalActionIdFromNumber,
|
|
466
|
+
Ys as getExternalActionIdHash,
|
|
467
|
+
zs as getExternalMetadataHash,
|
|
468
468
|
Ie as getFixedRegistry,
|
|
469
|
-
|
|
469
|
+
xn as getFlatFees,
|
|
470
470
|
y as getGasEstimates,
|
|
471
471
|
vo as getGasStationUrl,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
472
|
+
ja as getGenericFeeOverTransactionValueErrorMessage,
|
|
473
|
+
js as getHToken,
|
|
474
|
+
Bs as getHinkalCache,
|
|
475
|
+
cr as getHinkalFeeRateInBeeps,
|
|
476
476
|
Ar as getHinkalParameters,
|
|
477
477
|
E as getIdleRelay,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
478
|
+
ap as getInputUtxoAndBalance,
|
|
479
|
+
ip as getInputUtxosFromEncryptedOutputs,
|
|
480
|
+
sn as getInteractionFromAction,
|
|
481
|
+
un as getNetworkObject,
|
|
482
|
+
An as getNetworkType,
|
|
483
|
+
rl as getNextDay,
|
|
484
484
|
Xe as getNonLocalhostChainId,
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
Tp as getOdosPrice,
|
|
486
|
+
Pp as getOneInchPrice,
|
|
487
487
|
Rt as getPendleRegistryWithChainId,
|
|
488
488
|
N as getPublicWalletBalance,
|
|
489
|
-
|
|
489
|
+
dr as getRelayFee,
|
|
490
490
|
_ as getRelayerURL,
|
|
491
|
-
|
|
491
|
+
en as getSequence,
|
|
492
492
|
t as getServerURL,
|
|
493
|
-
|
|
493
|
+
pp as getShieldedBalance,
|
|
494
494
|
xr as getSlippageFee,
|
|
495
|
-
|
|
495
|
+
Jp as getTokenIndexForPendleFlatFee,
|
|
496
496
|
T as getTokenPrice,
|
|
497
497
|
k as getTokenPriceEth,
|
|
498
498
|
P as getTokenPrices,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
499
|
+
gp as getUniswapFee,
|
|
500
|
+
up as getUniswapPrice,
|
|
501
|
+
Ap as getUniswapPriceHelper,
|
|
502
|
+
Cs as getValueFirstNDigit,
|
|
503
|
+
ol as getWeekTimestamps,
|
|
504
504
|
Tt as getYtTokensWithChainId,
|
|
505
|
-
|
|
505
|
+
tl as hasCertificationPeriodExpired,
|
|
506
506
|
Jt as hinkalActionBeefy,
|
|
507
507
|
ea as hinkalActionConvex,
|
|
508
508
|
oa as hinkalActionCurve,
|
|
@@ -512,74 +512,73 @@ export {
|
|
|
512
512
|
ga as hinkalPrivateWallet,
|
|
513
513
|
ma as hinkalSwap,
|
|
514
514
|
fa as hinkalTransfer,
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
515
|
+
da as hinkalWithdraw,
|
|
516
|
+
al as hourInMilliseconds,
|
|
517
|
+
dm as isBeefyDeposit,
|
|
518
518
|
qt as isCircomNegative,
|
|
519
519
|
Zr as isDevelopment,
|
|
520
520
|
Je as isLocalNetwork,
|
|
521
|
-
|
|
521
|
+
Fn as isNicknameValid,
|
|
522
522
|
qr as isNode,
|
|
523
523
|
Qr as isNotClientProduction,
|
|
524
524
|
jr as isNotProduction,
|
|
525
|
-
|
|
525
|
+
Ln as isNullOrEmpty,
|
|
526
526
|
$e as isOptimismBedrockLike,
|
|
527
527
|
er as isOptimismEcotoneLike,
|
|
528
528
|
rr as isOptimismLike,
|
|
529
529
|
Xr as isPlayground,
|
|
530
530
|
Jr as isStaging,
|
|
531
531
|
$r as isWebpack,
|
|
532
|
-
|
|
532
|
+
il as isWeekCurrent,
|
|
533
533
|
kt as isYtToken,
|
|
534
534
|
Dt as jubHolder,
|
|
535
|
-
|
|
535
|
+
Gi as lidoStEthAbi,
|
|
536
536
|
Go as lidoStEthContractAddress,
|
|
537
|
-
|
|
537
|
+
Yi as lidoStMaticAbi,
|
|
538
538
|
Ko as lidoStMaticAddress,
|
|
539
|
-
|
|
539
|
+
$i as lidoStakeManagerAbi,
|
|
540
540
|
Yo as lidoStakeManagerAddress,
|
|
541
|
-
|
|
541
|
+
Zi as lidoWithdrawalQueueERC721Abi,
|
|
542
542
|
zo as lidoWithdrawalQueueERC721Address,
|
|
543
|
-
|
|
543
|
+
Xi as lidoWstEthAbi,
|
|
544
544
|
Zo as lidoWstEthContractAddress,
|
|
545
|
-
|
|
545
|
+
Fs as loadTxsCache,
|
|
546
546
|
We as localhostData,
|
|
547
547
|
or as localhostNetwork,
|
|
548
548
|
Te as localhostRegistry,
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
ni as logError,
|
|
550
|
+
Nn as lowerCaseIncludes,
|
|
551
|
+
On as lowerCaseStartsWith,
|
|
552
552
|
at as lpLink,
|
|
553
553
|
it as lpProgramStartWeek,
|
|
554
554
|
U as lpTokens,
|
|
555
555
|
B as lpTokensToBasePool,
|
|
556
556
|
qo as maticSymbol,
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
Za as multiThreadedUtxoUtils,
|
|
557
|
+
Is as minBigInt,
|
|
558
|
+
ls as mintAccessToken,
|
|
559
|
+
fs as mintTokenCrossChain,
|
|
560
|
+
sl as minuteInMilliseconds,
|
|
562
561
|
tr as networkRegistry,
|
|
563
562
|
mo as oneInchZeroAddress,
|
|
564
|
-
|
|
565
|
-
|
|
563
|
+
gs as openDefaultPassportWindow,
|
|
564
|
+
ds as openPassportWindow,
|
|
566
565
|
Mo as optimismCrvCvxRegistry,
|
|
567
566
|
Ue as optimismData,
|
|
568
|
-
|
|
567
|
+
ns as optimismGasPriceOracleAbi,
|
|
569
568
|
Pt as optimismPendleRegistry,
|
|
570
569
|
ue as optimismRegistry,
|
|
571
570
|
oe as optimismRegistryFixed,
|
|
572
|
-
|
|
571
|
+
pn as outputUtxoProcessing,
|
|
573
572
|
lo as ownerPublicKey,
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
nl as parseWeek,
|
|
574
|
+
Gn as patchRegistry,
|
|
576
575
|
fo as permitSignatureValidFor,
|
|
577
|
-
|
|
576
|
+
Qi as poLidoNftAbi,
|
|
578
577
|
Qo as poLidoNftAddress,
|
|
579
578
|
st as pointsLink,
|
|
580
579
|
No as polygonCrvCvxRegistry,
|
|
581
580
|
Fe as polygonData,
|
|
582
|
-
|
|
581
|
+
ce as polygonRegistry,
|
|
583
582
|
J as polygonRegistryFixed,
|
|
584
583
|
Ct as poseidonFunction,
|
|
585
584
|
It as poseidonHash,
|
|
@@ -588,44 +587,44 @@ export {
|
|
|
588
587
|
Co as proCoingeckoUrl,
|
|
589
588
|
Io as proHeader,
|
|
590
589
|
cn as processAmountChanges,
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
590
|
+
ln as processGasEstimates,
|
|
591
|
+
lm as produceOp,
|
|
592
|
+
Ii as quoterV2ABI,
|
|
594
593
|
nt as raffleProgramStartWeek,
|
|
595
|
-
|
|
594
|
+
rp as randomBigInt,
|
|
596
595
|
pt as referralLink,
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
596
|
+
Dn as reloadPage,
|
|
597
|
+
Js as requireEnv,
|
|
598
|
+
_s as resetCache,
|
|
600
599
|
Aa as resetMerkleTrees,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
600
|
+
rn as resolveSync,
|
|
601
|
+
Xa as rethrowKnownGasErrorIfPossible,
|
|
602
|
+
fp as retrieveEvents,
|
|
603
|
+
Cp as runContractFunction,
|
|
604
|
+
Di as sanctionsListABI,
|
|
605
|
+
Ms as saveTxsCache,
|
|
606
|
+
yp as searchPoolAndFee,
|
|
607
|
+
pl as secondInMilliseconds,
|
|
608
|
+
Vp as serializeCircomData,
|
|
609
|
+
hn as serializeDecodedTxs,
|
|
610
|
+
Ns as setHinkalCache,
|
|
612
611
|
co as signaturePhrase,
|
|
613
|
-
|
|
612
|
+
zm as slippageLevels,
|
|
614
613
|
jo as stMaticSymbol,
|
|
615
614
|
br as supportedPassportLinks,
|
|
616
615
|
xo as threePoolSymbol,
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
616
|
+
Es as toBigInt,
|
|
617
|
+
hs as toBigIntOrUndefined,
|
|
618
|
+
op as toBigIntWithDecimals,
|
|
619
|
+
bs as toCommaSeparatedNumberString,
|
|
620
|
+
ml as toDateString,
|
|
621
|
+
Ds as toInt,
|
|
622
|
+
vs as toNumberOrUndefined,
|
|
623
|
+
Un as toTitleCase,
|
|
624
|
+
ei as transactionErrorCodes,
|
|
625
|
+
rs as transactionProverABI,
|
|
626
|
+
ws as trimLeadingZeros,
|
|
627
|
+
Ls as truncateTo18DecimalPlaces,
|
|
629
628
|
yr as uniswapV2PoolData,
|
|
630
629
|
Rr as uniswapV3FactoryData,
|
|
631
630
|
Tr as uniswapV3PoolData,
|
|
@@ -633,10 +632,10 @@ export {
|
|
|
633
632
|
H as urlForBeefyVaultTokens,
|
|
634
633
|
G as urlForBeefyVaultTotalInUSD,
|
|
635
634
|
K as urlForRegularTokenPricesInBeefy,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
635
|
+
zn as wait,
|
|
636
|
+
Wn as waitLittle,
|
|
637
|
+
Pn as walletSupported,
|
|
638
|
+
ll as weekInMilliseconds,
|
|
640
639
|
Xo as wstEthSymbol,
|
|
641
640
|
go as zeroAddress
|
|
642
641
|
};
|