@hinkal/common 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-optimism.json.mjs +21 -17
- package/data-structures/cacheDevices/LocalStorageCacheDevice.cjs +1 -1
- package/data-structures/cacheDevices/LocalStorageCacheDevice.d.ts +1 -1
- package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +2 -2
- package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
- package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +14 -18
- package/functions/private-wallet/emporium.helpers.cjs +1 -1
- package/functions/private-wallet/emporium.helpers.d.ts +8 -3
- package/functions/private-wallet/emporium.helpers.mjs +23 -11
- package/functions/private-wallet/index.d.ts +1 -0
- package/functions/private-wallet/opProducer.cjs +1 -1
- package/functions/private-wallet/opProducer.mjs +1 -1
- package/functions/private-wallet/smartContractWalletCalculator.cjs +1 -0
- package/functions/private-wallet/smartContractWalletCalculator.d.ts +1 -0
- package/functions/private-wallet/smartContractWalletCalculator.mjs +20 -0
- package/functions/protocols/pendle.helpers.cjs +1 -1
- package/functions/protocols/pendle.helpers.mjs +13 -14
- package/functions/utils/cacheDevice.utils.cjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +8 -8
- package/functions/utils/string.utils.cjs +1 -1
- package/functions/utils/string.utils.d.ts +1 -0
- package/functions/utils/string.utils.mjs +16 -6
- package/index.cjs +1 -1
- package/index.mjs +229 -226
- package/package.json +1 -1
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +2 -3
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +2 -3
- package/types/ethereum-network.types.d.ts +2 -0
- package/types/hinkal.types.d.ts +1 -0
package/index.mjs
CHANGED
|
@@ -106,66 +106,67 @@ import { getAxelarMigrationInfo as Pn } from "./functions/utils/axelar.utils.mjs
|
|
|
106
106
|
import { browserSupported as Sn, walletSupported as Cn } from "./functions/utils/userAgent.mjs";
|
|
107
107
|
import { decodeTxInput as In, decodeTxLogs as En, deserializeDecodedTxs as hn, serializeDecodedTxs as bn } from "./functions/utils/getDataFromTransaction.mjs";
|
|
108
108
|
import { reloadPage as vn } from "./functions/utils/reloadPage.mjs";
|
|
109
|
-
import { capitalizeFirstLetter as _n,
|
|
110
|
-
import { isNicknameValid as
|
|
111
|
-
import { caseInsensitiveEqual as
|
|
112
|
-
import { waitLittle as
|
|
113
|
-
import { patchRegistry as
|
|
114
|
-
import { createCacheDevice as
|
|
115
|
-
import { debounce as
|
|
116
|
-
import { calculateDollarValue as
|
|
117
|
-
import { getInputUtxoAndBalance as
|
|
118
|
-
import { addPaddingToUtxos as
|
|
119
|
-
import { getDepositEvents as
|
|
120
|
-
import { balanceChangedHandler as
|
|
121
|
-
import { getUniswapFee as
|
|
122
|
-
import { getOdosPrice as
|
|
123
|
-
import { getOneInchPrice as
|
|
124
|
-
import { runContractFunction as
|
|
125
|
-
import { constructZkProof as
|
|
126
|
-
import { constructEmporiumProof as
|
|
127
|
-
import { buildInNullifiers as
|
|
128
|
-
import { generateZkProof as
|
|
129
|
-
import { getCRV as
|
|
130
|
-
import { getCVX as
|
|
131
|
-
import { determinePendleSwapType as
|
|
132
|
-
import { calculateStakeNullifier as
|
|
133
|
-
import { emporiumOp as
|
|
134
|
-
import { OpType as
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import { abi as
|
|
155
|
-
import { abi as
|
|
156
|
-
import { abi as
|
|
157
|
-
import { abi as
|
|
158
|
-
import { abi as
|
|
159
|
-
import { abi as
|
|
160
|
-
import { abi as
|
|
161
|
-
import { abi as
|
|
162
|
-
import {
|
|
163
|
-
import { default as
|
|
164
|
-
import { default as
|
|
165
|
-
import { default as
|
|
166
|
-
import { default as
|
|
167
|
-
import { default as
|
|
168
|
-
import { default as
|
|
109
|
+
import { capitalizeFirstLetter as _n, hexToUtf8 as Fn, isNullOrEmpty as Mn, toTitleCase as Un } from "./functions/utils/string.utils.mjs";
|
|
110
|
+
import { isNicknameValid as Nn } from "./functions/utils/nickname.utils.mjs";
|
|
111
|
+
import { caseInsensitiveEqual as wn, lowerCaseIncludes as Vn, lowerCaseStartsWith as Wn } from "./functions/utils/caseInsensitive.utils.mjs";
|
|
112
|
+
import { waitLittle as Gn } from "./functions/utils/time.utils.mjs";
|
|
113
|
+
import { patchRegistry as Yn } from "./functions/utils/volatile-patcher.utils.mjs";
|
|
114
|
+
import { createCacheDevice as Zn } from "./functions/utils/cacheDevice.utils.mjs";
|
|
115
|
+
import { debounce as Qn, wait as jn } from "./functions/utils/process.utils.mjs";
|
|
116
|
+
import { calculateDollarValue as Jn, ethToWei as $n, getAmountInToken as es, getAmountInWei as rs, getAmountInWeiOrZero as ts, getAmountWithPrecision as os, getAmountWithPrecisionOrZero as as, randomBigInt as is, toBigIntWithDecimals as ns } from "./functions/web3/etherFunctions.mjs";
|
|
117
|
+
import { getInputUtxoAndBalance as ps, getInputUtxosFromEncryptedOutputs as ls } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
118
|
+
import { addPaddingToUtxos as cs, getShieldedBalance as ds } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
119
|
+
import { getDepositEvents as xs, retrieveEvents as gs } from "./functions/web3/events/web3RetrieveEvents.mjs";
|
|
120
|
+
import { balanceChangedHandler as us } from "./functions/web3/events/balanceChangedHandler.mjs";
|
|
121
|
+
import { getUniswapFee as Ts, getUniswapPrice as Ps, getUniswapPriceHelper as Rs, searchPoolAndFee as Ss } from "./functions/web3/uniswapAPI.mjs";
|
|
122
|
+
import { getOdosPrice as ks } from "./functions/web3/odosAPI.mjs";
|
|
123
|
+
import { getOneInchPrice as Es } from "./functions/web3/oneInchAPI.mjs";
|
|
124
|
+
import { runContractFunction as bs } from "./functions/web3/runContractFunction.mjs";
|
|
125
|
+
import { constructZkProof as vs } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
126
|
+
import { constructEmporiumProof as _s } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
127
|
+
import { buildInNullifiers as Ms, buildOutCommitments as Us, calcAccessTokenSiblingsAndSides as Bs, calcAmountChanges as Ns, calcCommitmentsSiblingAndSides as Os, calcEncryptedOutputs as ws, calcPublicSignalCount as Vs, calcStealthAddressStructure as Ws, createCallDataHash as Hs, deserializeCircomData as Gs, serializeCircomData as Ks } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
128
|
+
import { generateZkProof as zs } from "./functions/snarkjs/generateZkProof.mjs";
|
|
129
|
+
import { getCRV as qs } from "./functions/protocols/curve.protocols.mjs";
|
|
130
|
+
import { getCVX as js } from "./functions/protocols/convex.protocols.mjs";
|
|
131
|
+
import { determinePendleSwapType as Js, determinePendleSwapTypeApiRoute as $s, erc20TokenFromPendleAsset as ep, getAssetTypeFromPendleMarket as rp, getTokenIndexForPendleFlatFee as tp } from "./functions/protocols/pendle.helpers.mjs";
|
|
132
|
+
import { calculateStakeNullifier as ap, createStakeCommitment as ip, decryptStake as np, encodeHStakeMetadata as sp, encryptStake as pp } from "./functions/staking/index.mjs";
|
|
133
|
+
import { emporiumOp as mp, encodeEmporiumMetadata as cp } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
134
|
+
import { OpType as fp, produceOp as xp } from "./functions/private-wallet/opProducer.mjs";
|
|
135
|
+
import { calculateSmartContractWalletAddress as Ap } from "./functions/private-wallet/smartContractWalletCalculator.mjs";
|
|
136
|
+
import { dataBeefyApiConfig as yp, isBeefyDeposit as Tp } from "./types/beefy.types.mjs";
|
|
137
|
+
import { defaultHookData as Rp, defaultHookDataArray as Sp, defaultStealthAddressStructure as Cp, emptyStealthAddressStructure as kp } from "./types/circom-data.types.mjs";
|
|
138
|
+
import { ContractType as Ep } from "./types/ethereum-network.types.mjs";
|
|
139
|
+
import { ExternalActionId as bp } from "./types/external-action.types.mjs";
|
|
140
|
+
import { BeefyAction as vp, ConvexAction as Lp, CurveAction as _p, EventType as Fp, HinkalStakeAction as Mp, INTERACTION as Up, IntegrationProvider as Bp, LidoAction as Np, LidoVariant as Op, PendleAction as wp, PendleLPAction as Vp, StakeProvider as Wp, VolatileAction as Hp } from "./types/hinkal.types.mjs";
|
|
141
|
+
import { KycVerificationResult as Kp, KycVerificationStatus as Yp, Passports as zp, VERIFICATION_TYPE as Zp, VerificationTypes as qp } from "./types/kyc.types.mjs";
|
|
142
|
+
import { ApprovalType as jp } from "./types/token.types.mjs";
|
|
143
|
+
import { SlippageType as Jp, slippageLevels as $p } from "./types/slippage.types.mjs";
|
|
144
|
+
import { emptyDecodedTx as rl } from "./types/transactions.types.mjs";
|
|
145
|
+
import { MONTHS as ol, dayInMilliseconds as al, divideMonthOnIntervals as il, getCurrentWeek as nl, getDateFromWeek as sl, getNextDay as pl, getWeekTimestamps as ll, hasCertificationPeriodExpired as ml, hourInMilliseconds as cl, isWeekCurrent as dl, minuteInMilliseconds as fl, parseWeek as xl, secondInMilliseconds as gl, toDateString as Al, weekInMilliseconds as ul } from "./types/time.types.mjs";
|
|
146
|
+
import { BonusType as Tl, CertifyType as Pl, LP_TIER as Rl, PaymentStatus as Sl, PointType as Cl, RafflePrizeType as kl, RewardPage as Il, RewardsHistoryDistribution as El, RewardsHistoryEligibility as hl, RewardsHistorySnapshots as bl, RewardsHistoryStatuses as Dl, RewardsPageTabs as vl, TIER_LEVEL as Ll, Timeline as _l, emptyUserPointsBreakdown as Fl, emptyUserPointsResponse as Ml } from "./types/rewards.types.mjs";
|
|
147
|
+
import { PendleAssetType as Bl, PendleChains as Nl, PendleDashboardTabs as Ol, PendleEarnTabs as wl, PendleMarketTransactionTypes as Vl, PendlePoolManualTabs as Wl, PendlePoolTabs as Hl, PendlePoolZapTabs as Gl, PendleSwapType as Kl, PendleTabs as Yl, PendleTradeGeneralTabs as zl, PendleTradeTabs as Zl } from "./types/pendle.types.mjs";
|
|
148
|
+
import { StatType as Ql, UpperTabPossibleValues as jl, curveNetworkNames as Xl, curvePools as Jl } from "./types/curve.types.mjs";
|
|
149
|
+
import { HinkalStakeMode as em } from "./types/hinkal.stake.types.mjs";
|
|
150
|
+
import { AdminActionType as tm, AdminDetailedActionType as om } from "./types/admin.types.mjs";
|
|
151
|
+
import { getERC20Registry as im, getFixedRegistry as nm } from "./constants/token-data/ERC20Registry.mjs";
|
|
152
|
+
import { urlForBeefyVaultTokens as pm, urlForBeefyVaultTotalInUSD as lm, urlForRegularTokenPricesInBeefy as mm } from "./constants/token-data/tokenPricing.consts.mjs";
|
|
153
|
+
import { PopularTokenSymbols as dm } from "./constants/token-data/popularTokens.constants.mjs";
|
|
154
|
+
import { abi as xm } from "./externalABIs/amToken.mjs";
|
|
155
|
+
import { abi as Am } from "./externalABIs/USDC.mjs";
|
|
156
|
+
import { abi as ym } from "./externalABIs/DAI.mjs";
|
|
157
|
+
import { abi as Pm } from "./externalABIs/USDR.mjs";
|
|
158
|
+
import { abi as Sm } from "./externalABIs/USDR3CRV.mjs";
|
|
159
|
+
import { abi as km } from "./externalABIs/USDT.mjs";
|
|
160
|
+
import { abi as Em } from "./externalABIs/WETH.mjs";
|
|
161
|
+
import { abi as bm } from "./externalABIs/BUSD.mjs";
|
|
162
|
+
import { abi as vm } from "./externalABIs/SanctionsList.mjs";
|
|
163
|
+
import { default as _m } from "./externalABIs/LidoStEthAbi.json.mjs";
|
|
164
|
+
import { default as Mm } from "./externalABIs/LidoStMaticAbi.json.mjs";
|
|
165
|
+
import { default as Bm } from "./externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs";
|
|
166
|
+
import { default as Om } from "./externalABIs/LidoWstEthAbi.json.mjs";
|
|
167
|
+
import { default as Vm } from "./externalABIs/PoLidoNftAbi.json.mjs";
|
|
168
|
+
import { default as Hm } from "./externalABIs/LidoStakeManagerAbi.json.mjs";
|
|
169
|
+
import { default as Km } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
169
170
|
export {
|
|
170
171
|
_t as ACCESS_TOKEN_MINTING_POINTS,
|
|
171
172
|
er as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
|
@@ -177,25 +178,25 @@ export {
|
|
|
177
178
|
fa as AbstractEventService,
|
|
178
179
|
la as AbstractNullifierSnapshotService,
|
|
179
180
|
ca as AbstractSnapshotService,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
tm as AdminActionType,
|
|
182
|
+
om as AdminDetailedActionType,
|
|
183
|
+
xm as AmTokenABI,
|
|
184
|
+
jp as ApprovalType,
|
|
184
185
|
nt as AxelarRegistry,
|
|
185
|
-
|
|
186
|
+
bm as BUSDABI,
|
|
186
187
|
Xa as BabABI,
|
|
187
|
-
|
|
188
|
+
vp as BeefyAction,
|
|
188
189
|
Ja as BeefyVaultABI,
|
|
189
|
-
|
|
190
|
+
Tl as BonusType,
|
|
190
191
|
Ft as CERTIFICATION_DISABLE_WEEK,
|
|
191
192
|
Ur as CIRCOM_P,
|
|
192
193
|
Br as CIRCOM_P_HALF,
|
|
193
194
|
jr as COINGECKO_API_KEY,
|
|
194
|
-
|
|
195
|
+
Pl as CertifyType,
|
|
195
196
|
Xr as CoinGeckoChainLabels,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
Ep as ContractType,
|
|
198
|
+
Lp as ConvexAction,
|
|
199
|
+
_p as CurveAction,
|
|
199
200
|
$a as CurveReadingWrapperABI,
|
|
200
201
|
ei as CurveWrappedMainPoolABI,
|
|
201
202
|
cr as DATA_SERVER_CONFIG,
|
|
@@ -207,97 +208,97 @@ export {
|
|
|
207
208
|
ko as EncryptionKeyPairDefaultValue,
|
|
208
209
|
Qa as ErrorCategory,
|
|
209
210
|
ke as EthereumNetworkType,
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
Fp as EventType,
|
|
212
|
+
bp as ExternalActionId,
|
|
212
213
|
Ma as FeeOverTransactionValueError,
|
|
213
214
|
va as FileCacheDevice,
|
|
214
215
|
ti as GalxeABI,
|
|
215
216
|
Be as HINKAL_EXTERNAL_ACTION_FEE,
|
|
216
217
|
Ne as HINKAL_UNIVERSAL_FEE,
|
|
217
218
|
vo as Hinkal,
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
Mp as HinkalStakeAction,
|
|
220
|
+
em as HinkalStakeMode,
|
|
220
221
|
V as IMAGE_PATHS,
|
|
221
|
-
|
|
222
|
+
Up as INTERACTION,
|
|
222
223
|
oi as ISwapRouterABI,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
224
|
+
Bp as IntegrationProvider,
|
|
225
|
+
Kp as KycVerificationResult,
|
|
226
|
+
Yp as KycVerificationStatus,
|
|
227
|
+
Rl as LP_TIER,
|
|
228
|
+
Np as LidoAction,
|
|
229
|
+
Op as LidoVariant,
|
|
229
230
|
_a as LocalStorageCacheDevice,
|
|
230
|
-
|
|
231
|
+
ol as MONTHS,
|
|
231
232
|
$o as MerkleTree,
|
|
232
233
|
oa as MerkleTreeIncompleteError,
|
|
233
234
|
ba as MultiThreadedUtxoUtils,
|
|
234
235
|
pt as NETWORKS,
|
|
235
|
-
|
|
236
|
+
fp as OpType,
|
|
236
237
|
gr as PLAYGROUND_RELAYER_URLS,
|
|
237
238
|
Ar as PLAYGROUND_SERVER_URLS,
|
|
238
239
|
ur as PLAYGROUND_URL,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
240
|
+
zp as Passports,
|
|
241
|
+
Sl as PaymentStatus,
|
|
242
|
+
wp as PendleAction,
|
|
243
|
+
Bl as PendleAssetType,
|
|
244
|
+
Nl as PendleChains,
|
|
245
|
+
Ol as PendleDashboardTabs,
|
|
246
|
+
wl as PendleEarnTabs,
|
|
247
|
+
Vp as PendleLPAction,
|
|
248
|
+
Vl as PendleMarketTransactionTypes,
|
|
249
|
+
Wl as PendlePoolManualTabs,
|
|
250
|
+
Hl as PendlePoolTabs,
|
|
251
|
+
Gl as PendlePoolZapTabs,
|
|
252
|
+
Kl as PendleSwapType,
|
|
253
|
+
Yl as PendleTabs,
|
|
254
|
+
zl as PendleTradeGeneralTabs,
|
|
255
|
+
Zl as PendleTradeTabs,
|
|
256
|
+
Cl as PointType,
|
|
257
|
+
dm as PopularTokenSymbols,
|
|
257
258
|
tr as RECLAIM_MESSAGE_TO_SIGN,
|
|
258
259
|
yr as RELAYER_CONFIG,
|
|
259
260
|
Tr as RELAYER_URLS,
|
|
260
261
|
Mt as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
261
262
|
Ut as RafflePrizePoints,
|
|
262
|
-
|
|
263
|
+
kl as RafflePrizeType,
|
|
263
264
|
or as ReclaimPassports,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
265
|
+
Il as RewardPage,
|
|
266
|
+
El as RewardsHistoryDistribution,
|
|
267
|
+
hl as RewardsHistoryEligibility,
|
|
268
|
+
bl as RewardsHistorySnapshots,
|
|
269
|
+
Dl as RewardsHistoryStatuses,
|
|
270
|
+
vl as RewardsPageTabs,
|
|
270
271
|
Pr as SERVER_URLS,
|
|
271
272
|
Rr as STAGING_RELAYER_URLS,
|
|
272
273
|
Sr as STAGING_SERVER_URLS,
|
|
273
274
|
Cr as STAGING_URL,
|
|
274
|
-
|
|
275
|
-
|
|
275
|
+
Jp as SlippageType,
|
|
276
|
+
Wp as StakeProvider,
|
|
276
277
|
ar as StandardPassports,
|
|
277
|
-
|
|
278
|
+
Ql as StatType,
|
|
278
279
|
ir as SupportedPassports,
|
|
279
|
-
|
|
280
|
-
|
|
280
|
+
Ll as TIER_LEVEL,
|
|
281
|
+
_l as Timeline,
|
|
281
282
|
Ta as TokenChecker,
|
|
282
283
|
Ca as TransactionType,
|
|
283
284
|
Ra as TransactionsManager,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
285
|
+
Am as USDCABI,
|
|
286
|
+
Sm as USDR3CRVABI,
|
|
287
|
+
Pm as USDRABI,
|
|
288
|
+
km as USDTABI,
|
|
289
|
+
jl as UpperTabPossibleValues,
|
|
289
290
|
wa as UserFriendlyErrorCodes,
|
|
290
291
|
Io as UserKeys,
|
|
291
292
|
ga as Utxo,
|
|
292
|
-
|
|
293
|
+
Zp as VERIFICATION_TYPE,
|
|
293
294
|
fo as ValueCache,
|
|
294
|
-
|
|
295
|
-
|
|
295
|
+
qp as VerificationTypes,
|
|
296
|
+
Hp as VolatileAction,
|
|
296
297
|
Ea as VolatileHelper,
|
|
297
|
-
|
|
298
|
+
Em as WETHABI,
|
|
298
299
|
go as abiDecodeUtxo,
|
|
299
300
|
Ai as absBigInt,
|
|
300
|
-
|
|
301
|
+
cs as addPaddingToUtxos,
|
|
301
302
|
nr as aipriseBaseOnboardingProductionUrl,
|
|
302
303
|
sr as aipriseBaseOnboardingSandboxUrl,
|
|
303
304
|
ct as arbMainnetCrvCvxRegistry,
|
|
@@ -312,7 +313,7 @@ export {
|
|
|
312
313
|
Pe as axelar1Data,
|
|
313
314
|
Se as axelar2Data,
|
|
314
315
|
so as babyJubInstance,
|
|
315
|
-
|
|
316
|
+
us as balanceChangedHandler,
|
|
316
317
|
ft as baseCrvCvxRegistry,
|
|
317
318
|
Ae as baseData,
|
|
318
319
|
z as baseRegistry,
|
|
@@ -328,22 +329,23 @@ export {
|
|
|
328
329
|
Qt as bnbPendleRegistry,
|
|
329
330
|
Bt as boostAmounts,
|
|
330
331
|
Sn as browserSupported,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
332
|
+
Ms as buildInNullifiers,
|
|
333
|
+
Us as buildOutCommitments,
|
|
334
|
+
Bs as calcAccessTokenSiblingsAndSides,
|
|
335
|
+
Ns as calcAmountChanges,
|
|
336
|
+
Os as calcCommitmentsSiblingAndSides,
|
|
337
|
+
ws as calcEncryptedOutputs,
|
|
338
|
+
Vs as calcPublicSignalCount,
|
|
339
|
+
Ws as calcStealthAddressStructure,
|
|
339
340
|
Pi as calculateAmountUsingBeeps,
|
|
340
|
-
|
|
341
|
-
|
|
341
|
+
Jn as calculateDollarValue,
|
|
342
|
+
Ap as calculateSmartContractWalletAddress,
|
|
343
|
+
ap as calculateStakeNullifier,
|
|
342
344
|
Ri as calculateSum,
|
|
343
345
|
m as callOneInchAPI,
|
|
344
346
|
x as callRelayerTransactAPI,
|
|
345
347
|
_n as capitalizeFirstLetter,
|
|
346
|
-
|
|
348
|
+
wn as caseInsensitiveEqual,
|
|
347
349
|
Ie as chainIds,
|
|
348
350
|
Ee as chainIdsByType,
|
|
349
351
|
Ya as checkErrorForSnapshotRestore,
|
|
@@ -353,53 +355,53 @@ export {
|
|
|
353
355
|
Jr as coingeckoPriceUrl,
|
|
354
356
|
$r as coingeckoPriceUrl2,
|
|
355
357
|
et as coingeckoTokenListUrl,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
+
_s as constructEmporiumProof,
|
|
359
|
+
vs as constructZkProof,
|
|
358
360
|
Ze as contractMetadataMapping,
|
|
359
361
|
an as convertIntegrationProviderToExternalActionId,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
+
Zn as createCacheDevice,
|
|
363
|
+
Hs as createCallDataHash,
|
|
362
364
|
Vi as createProvider,
|
|
363
|
-
|
|
365
|
+
ip as createStakeCommitment,
|
|
364
366
|
he as crossChainAccessTokenNetworks,
|
|
365
367
|
Or as crvSymbol,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
+
Xl as curveNetworkNames,
|
|
369
|
+
Jl as curvePools,
|
|
368
370
|
wr as curveWithdrawGasTokenAddress,
|
|
369
371
|
Vr as curveZeroAddress,
|
|
370
372
|
ua as customTokenRegistry,
|
|
371
373
|
Wr as cvxSymbol,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
ym as daiABI,
|
|
375
|
+
yp as dataBeefyApiConfig,
|
|
376
|
+
al as dayInMilliseconds,
|
|
377
|
+
Qn as debounce,
|
|
376
378
|
Hi as decodeMetadata,
|
|
377
379
|
In as decodeTxInput,
|
|
378
380
|
En as decodeTxLogs,
|
|
379
381
|
uo as decodeUtxo,
|
|
380
382
|
yo as decodeUtxoConstructorArgs,
|
|
381
|
-
|
|
383
|
+
np as decryptStake,
|
|
382
384
|
Po as decryptUtxo,
|
|
383
385
|
Ro as decryptUtxoConstructorArgs,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
386
|
+
Rp as defaultHookData,
|
|
387
|
+
Sp as defaultHookDataArray,
|
|
388
|
+
Cp as defaultStealthAddressStructure,
|
|
387
389
|
Er as deploymentMode,
|
|
388
|
-
|
|
390
|
+
Gs as deserializeCircomData,
|
|
389
391
|
hn as deserializeDecodedTxs,
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
392
|
+
Js as determinePendleSwapType,
|
|
393
|
+
$s as determinePendleSwapTypeApiRoute,
|
|
394
|
+
il as divideMonthOnIntervals,
|
|
395
|
+
mp as emporiumOp,
|
|
396
|
+
rl as emptyDecodedTx,
|
|
397
|
+
kp as emptyStealthAddressStructure,
|
|
398
|
+
Fl as emptyUserPointsBreakdown,
|
|
399
|
+
Ml as emptyUserPointsResponse,
|
|
400
|
+
cp as encodeEmporiumMetadata,
|
|
401
|
+
sp as encodeHStakeMetadata,
|
|
402
|
+
pp as encryptStake,
|
|
401
403
|
So as encryptUtxo,
|
|
402
|
-
|
|
404
|
+
ep as erc20TokenFromPendleAsset,
|
|
403
405
|
Yt as ethBeefyRegistry,
|
|
404
406
|
xt as ethCrvCvxRegistry,
|
|
405
407
|
pe as ethMainnetData,
|
|
@@ -407,32 +409,32 @@ export {
|
|
|
407
409
|
X as ethMainnetRegistryFixed,
|
|
408
410
|
jt as ethPendleRegistry,
|
|
409
411
|
Rt as ethSymbol,
|
|
410
|
-
|
|
412
|
+
$n as ethToWei,
|
|
411
413
|
Hr as ethVolatileAddress,
|
|
412
414
|
ka as externalActionToTransactionType,
|
|
413
415
|
Ha as extractMessage,
|
|
414
416
|
ai as factoryABI,
|
|
415
417
|
Xt as findSyAddress,
|
|
416
418
|
Si as fixDecimalsAmount,
|
|
417
|
-
|
|
419
|
+
zs as generateZkProof,
|
|
418
420
|
Gi as getActionFromMetadata,
|
|
419
421
|
Oe as getAmountAfterRelayAndFlatFees,
|
|
420
422
|
we as getAmountAfterRelayAndFlatFeesAndSlippage,
|
|
421
423
|
Ve as getAmountAfterRelayFee,
|
|
422
424
|
We as getAmountAfterSlippage,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
es as getAmountInToken,
|
|
426
|
+
rs as getAmountInWei,
|
|
427
|
+
ts as getAmountInWeiOrZero,
|
|
428
|
+
os as getAmountWithPrecision,
|
|
429
|
+
as as getAmountWithPrecisionOrZero,
|
|
428
430
|
He as getAmountWithoutFee,
|
|
429
|
-
|
|
431
|
+
rp as getAssetTypeFromPendleMarket,
|
|
430
432
|
A as getAxelarGasEstimate,
|
|
431
433
|
Pn as getAxelarMigrationInfo,
|
|
432
434
|
d as getBeefyHistoricalChartData,
|
|
433
435
|
zt as getBeefyRegistryWithChainId,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
+
qs as getCRV,
|
|
437
|
+
js as getCVX,
|
|
436
438
|
Tt as getCalcTokenAmountWithDynamicArray,
|
|
437
439
|
ho as getCircomSign,
|
|
438
440
|
rt as getCoingeckoIdForNativeTokens,
|
|
@@ -442,13 +444,13 @@ export {
|
|
|
442
444
|
s as getCoingeckoPrices,
|
|
443
445
|
p as getCoingeckoTokenList,
|
|
444
446
|
gt as getCrvCvxWithChainId,
|
|
445
|
-
|
|
447
|
+
nl as getCurrentWeek,
|
|
446
448
|
v as getCurvePools,
|
|
447
449
|
L as getCurvePoolsforPriceFetching,
|
|
448
450
|
t as getDataServerURL,
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
451
|
+
sl as getDateFromWeek,
|
|
452
|
+
xs as getDepositEvents,
|
|
453
|
+
im as getERC20Registry,
|
|
452
454
|
qi as getERC20Token,
|
|
453
455
|
Qi as getERC20TokenBySymbol,
|
|
454
456
|
Ga as getErrorMessage,
|
|
@@ -457,7 +459,7 @@ export {
|
|
|
457
459
|
Yi as getExternalActionIdHash,
|
|
458
460
|
zi as getExternalMetadataHash,
|
|
459
461
|
Fi as getFilePath,
|
|
460
|
-
|
|
462
|
+
nm as getFixedRegistry,
|
|
461
463
|
gn as getFlatFees,
|
|
462
464
|
y as getGasEstimates,
|
|
463
465
|
lt as getGasStationUrl,
|
|
@@ -467,15 +469,15 @@ export {
|
|
|
467
469
|
Ge as getHinkalFeeRateInBeeps,
|
|
468
470
|
qe as getHinkalParameters,
|
|
469
471
|
E as getIdleRelay,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
+
ps as getInputUtxoAndBalance,
|
|
473
|
+
ls as getInputUtxosFromEncryptedOutputs,
|
|
472
474
|
sn as getInteractionFromAction,
|
|
473
475
|
un as getNetworkObject,
|
|
474
476
|
yn as getNetworkType,
|
|
475
|
-
|
|
477
|
+
pl as getNextDay,
|
|
476
478
|
be as getNonLocalhostChainId,
|
|
477
|
-
|
|
478
|
-
|
|
479
|
+
ks as getOdosPrice,
|
|
480
|
+
Es as getOneInchPrice,
|
|
479
481
|
ra as getPatchedAccessTokenMerkleTree,
|
|
480
482
|
Jt as getPendleRegistryWithChainId,
|
|
481
483
|
O as getPublicWalletBalance,
|
|
@@ -483,19 +485,20 @@ export {
|
|
|
483
485
|
B as getRelayerURL,
|
|
484
486
|
en as getSequence,
|
|
485
487
|
o as getServerURL,
|
|
486
|
-
|
|
488
|
+
ds as getShieldedBalance,
|
|
487
489
|
Ye as getSlippageFee,
|
|
488
|
-
|
|
490
|
+
tp as getTokenIndexForPendleFlatFee,
|
|
489
491
|
P as getTokenPrice,
|
|
490
492
|
R as getTokenPriceEth,
|
|
491
493
|
S as getTokenPrices,
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
494
|
+
Ts as getUniswapFee,
|
|
495
|
+
Ps as getUniswapPrice,
|
|
496
|
+
Rs as getUniswapPriceHelper,
|
|
495
497
|
Ci as getValueFirstNDigit,
|
|
496
|
-
|
|
498
|
+
ll as getWeekTimestamps,
|
|
497
499
|
$t as getYtTokensWithChainId,
|
|
498
|
-
|
|
500
|
+
ml as hasCertificationPeriodExpired,
|
|
501
|
+
Fn as hexToUtf8,
|
|
499
502
|
_o as hinkalActionBeefy,
|
|
500
503
|
Mo as hinkalActionConvex,
|
|
501
504
|
Bo as hinkalActionCurve,
|
|
@@ -506,42 +509,42 @@ export {
|
|
|
506
509
|
Go as hinkalSwap,
|
|
507
510
|
Yo as hinkalTransfer,
|
|
508
511
|
Zo as hinkalWithdraw,
|
|
509
|
-
|
|
510
|
-
|
|
512
|
+
cl as hourInMilliseconds,
|
|
513
|
+
Tp as isBeefyDeposit,
|
|
511
514
|
bo as isCircomNegative,
|
|
512
515
|
hr as isDevelopment,
|
|
513
516
|
De as isLocalNetwork,
|
|
514
|
-
|
|
517
|
+
Nn as isNicknameValid,
|
|
515
518
|
br as isNode,
|
|
516
519
|
Dr as isNotClientProduction,
|
|
517
520
|
vr as isNotProduction,
|
|
518
|
-
|
|
521
|
+
Mn as isNullOrEmpty,
|
|
519
522
|
ve as isOptimismBedrockLike,
|
|
520
523
|
Le as isOptimismEcotoneLike,
|
|
521
524
|
_e as isOptimismLike,
|
|
522
525
|
Lr as isPlayground,
|
|
523
526
|
_r as isStaging,
|
|
524
527
|
Fr as isWebpack,
|
|
525
|
-
|
|
528
|
+
dl as isWeekCurrent,
|
|
526
529
|
eo as isYtToken,
|
|
527
530
|
po as jubHolder,
|
|
528
|
-
|
|
531
|
+
_m as lidoStEthAbi,
|
|
529
532
|
St as lidoStEthContractAddress,
|
|
530
|
-
|
|
533
|
+
Mm as lidoStMaticAbi,
|
|
531
534
|
Ct as lidoStMaticAddress,
|
|
532
|
-
|
|
535
|
+
Hm as lidoStakeManagerAbi,
|
|
533
536
|
kt as lidoStakeManagerAddress,
|
|
534
|
-
|
|
537
|
+
Bm as lidoWithdrawalQueueERC721Abi,
|
|
535
538
|
It as lidoWithdrawalQueueERC721Address,
|
|
536
|
-
|
|
539
|
+
Om as lidoWstEthAbi,
|
|
537
540
|
Et as lidoWstEthContractAddress,
|
|
538
541
|
Ui as loadTxsCache,
|
|
539
542
|
ye as localhostData,
|
|
540
543
|
Fe as localhostNetwork,
|
|
541
544
|
J as localhostRegistry,
|
|
542
545
|
Za as logError,
|
|
543
|
-
|
|
544
|
-
|
|
546
|
+
Vn as lowerCaseIncludes,
|
|
547
|
+
Wn as lowerCaseStartsWith,
|
|
545
548
|
Nt as lpLink,
|
|
546
549
|
Ot as lpProgramStartWeek,
|
|
547
550
|
F as lpTokens,
|
|
@@ -550,23 +553,23 @@ export {
|
|
|
550
553
|
ki as minBigInt,
|
|
551
554
|
li as mintAccessToken,
|
|
552
555
|
mi as mintTokenCrossChain,
|
|
553
|
-
|
|
556
|
+
fl as minuteInMilliseconds,
|
|
554
557
|
Me as networkRegistry,
|
|
555
558
|
Gr as oneInchZeroAddress,
|
|
556
559
|
xi as openDefaultPassportWindow,
|
|
557
560
|
di as openPassportWindow,
|
|
558
561
|
At as optimismCrvCvxRegistry,
|
|
559
562
|
me as optimismData,
|
|
560
|
-
|
|
563
|
+
Km as optimismGasPriceOracleAbi,
|
|
561
564
|
ro as optimismPendleRegistry,
|
|
562
565
|
$ as optimismRegistry,
|
|
563
566
|
ee as optimismRegistryFixed,
|
|
564
567
|
ln as outputUtxoProcessing,
|
|
565
568
|
Kr as ownerPublicKey,
|
|
566
|
-
|
|
567
|
-
|
|
569
|
+
xl as parseWeek,
|
|
570
|
+
Yn as patchRegistry,
|
|
568
571
|
Yr as permitSignatureValidFor,
|
|
569
|
-
|
|
572
|
+
Vm as poLidoNftAbi,
|
|
570
573
|
bt as poLidoNftAddress,
|
|
571
574
|
wt as pointsLink,
|
|
572
575
|
ut as polygonCrvCvxRegistry,
|
|
@@ -581,11 +584,11 @@ export {
|
|
|
581
584
|
at as proHeader,
|
|
582
585
|
fn as processAmountChanges,
|
|
583
586
|
cn as processGasEstimates,
|
|
584
|
-
|
|
587
|
+
xp as produceOp,
|
|
585
588
|
rn as promisify,
|
|
586
589
|
ii as quoterV2ABI,
|
|
587
590
|
Vt as raffleProgramStartWeek,
|
|
588
|
-
|
|
591
|
+
is as randomBigInt,
|
|
589
592
|
Wt as referralLink,
|
|
590
593
|
vn as reloadPage,
|
|
591
594
|
Ji as requireEnv,
|
|
@@ -593,28 +596,28 @@ export {
|
|
|
593
596
|
Xo as resetMerkleTrees,
|
|
594
597
|
tn as resolveSync,
|
|
595
598
|
Na as rethrowKnownGasErrorIfPossible,
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
+
gs as retrieveEvents,
|
|
600
|
+
bs as runContractFunction,
|
|
601
|
+
vm as sanctionsListABI,
|
|
599
602
|
Ni as saveTxsCache,
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
+
Ss as searchPoolAndFee,
|
|
604
|
+
gl as secondInMilliseconds,
|
|
605
|
+
Ks as serializeCircomData,
|
|
603
606
|
bn as serializeDecodedTxs,
|
|
604
607
|
Oi as setHinkalCache,
|
|
605
608
|
zr as signaturePhrase,
|
|
606
|
-
|
|
609
|
+
$p as slippageLevels,
|
|
607
610
|
Dt as stMaticSymbol,
|
|
608
611
|
pr as supportedPassportLinks,
|
|
609
612
|
Zr as threePoolSymbol,
|
|
610
613
|
Ii as toBigInt,
|
|
611
614
|
Ei as toBigIntOrUndefined,
|
|
612
|
-
|
|
615
|
+
ns as toBigIntWithDecimals,
|
|
613
616
|
hi as toCommaSeparatedNumberString,
|
|
614
|
-
|
|
617
|
+
Al as toDateString,
|
|
615
618
|
bi as toInt,
|
|
616
619
|
Di as toNumberOrUndefined,
|
|
617
|
-
|
|
620
|
+
Un as toTitleCase,
|
|
618
621
|
Va as transactionErrorCodes,
|
|
619
622
|
ni as transactionProverABI,
|
|
620
623
|
vi as trimLeadingZeros,
|
|
@@ -623,13 +626,13 @@ export {
|
|
|
623
626
|
je as uniswapV3FactoryData,
|
|
624
627
|
Xe as uniswapV3PoolData,
|
|
625
628
|
Je as uniswapV3QuoterData,
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
629
|
+
pm as urlForBeefyVaultTokens,
|
|
630
|
+
lm as urlForBeefyVaultTotalInUSD,
|
|
631
|
+
mm as urlForRegularTokenPricesInBeefy,
|
|
632
|
+
jn as wait,
|
|
633
|
+
Gn as waitLittle,
|
|
631
634
|
Cn as walletSupported,
|
|
632
|
-
|
|
635
|
+
ul as weekInMilliseconds,
|
|
633
636
|
vt as wstEthSymbol,
|
|
634
637
|
qr as zeroAddress
|
|
635
638
|
};
|