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