@hinkal/common 0.1.28 → 0.1.30
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-localhost.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-localhost.json.mjs +4 -4
- package/constants/token-data/localhostRegistry.json.cjs +1 -1
- package/constants/token-data/localhostRegistry.json.mjs +44 -18
- package/crypto/babyJub.cjs +1 -1
- package/crypto/babyJub.mjs +6 -5
- package/crypto/poseidon.cjs +1 -1
- package/crypto/poseidon.mjs +9 -8
- package/crypto/preProcessing.cjs +1 -1
- package/crypto/preProcessing.mjs +5 -6
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.mjs +3 -2
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +3 -2
- package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
- package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +31 -32
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +3 -2
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +11 -10
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +3 -2
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +3 -2
- package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +3 -2
- package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
- package/data-structures/transactions-manager/TransactionsManager.mjs +5 -5
- package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.mjs +3 -2
- package/functions/pre-transaction/processAmountChanges.cjs +1 -1
- package/functions/pre-transaction/processAmountChanges.mjs +8 -7
- package/functions/protocols/pendle.helpers.cjs +1 -1
- package/functions/protocols/pendle.helpers.mjs +11 -10
- package/functions/snarkjs/common.snarkjs.cjs +1 -1
- package/functions/snarkjs/common.snarkjs.mjs +22 -23
- package/functions/staking/index.cjs +1 -1
- package/functions/staking/index.mjs +15 -15
- package/functions/utils/resolve-sync.utils.cjs +1 -1
- package/functions/utils/resolve-sync.utils.d.ts +1 -0
- package/functions/utils/resolve-sync.utils.mjs +12 -3
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.mjs +7 -6
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.mjs +6 -5
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.mjs +7 -6
- package/functions/web3/runContractFunction.cjs +1 -1
- package/functions/web3/runContractFunction.mjs +7 -6
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.mjs +3 -2
- package/index.cjs +1 -1
- package/index.mjs +207 -206
- package/package.json +1 -1
- package/providers/Wagmiv1ProviderAdapter.d.ts +1 -1
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +3 -2
- package/providers/prepareWagmiv1Hinkal.cjs +1 -1
- package/providers/prepareWagmiv1Hinkal.mjs +3 -2
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.mjs +26 -27
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
package/index.mjs
CHANGED
|
@@ -133,56 +133,56 @@ import { createProvider as Vs } from "./functions/utils/create-provider.mjs";
|
|
|
133
133
|
import { decodeMetadata as Hs, getActionFromMetadata as Gs, getExternalActionIdFromNumber as Ks, getExternalActionIdHash as Ys, getExternalMetadataHash as zs } from "./functions/utils/external-action.utils.mjs";
|
|
134
134
|
import { getERC20Token as qs, getERC20TokenBySymbol as Qs, getHToken as js } from "./functions/utils/erc20tokenFunctions.mjs";
|
|
135
135
|
import { requireEnv as Js } from "./functions/utils/requireEnv.mjs";
|
|
136
|
-
import { getSequence as en,
|
|
137
|
-
import { convertIntegrationProviderToExternalActionId as
|
|
138
|
-
import { getInteractionFromAction as
|
|
139
|
-
import { outputUtxoProcessing as
|
|
140
|
-
import { processGasEstimates as
|
|
141
|
-
import { processAmountChanges as
|
|
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 { calculateDollarValue as
|
|
154
|
-
import { getInputUtxoAndBalance as
|
|
155
|
-
import { addPaddingToUtxos as
|
|
156
|
-
import { getDepositEvents as
|
|
157
|
-
import { balanceChangedHandler as
|
|
158
|
-
import { getUniswapFee as
|
|
159
|
-
import { getOdosPrice as
|
|
160
|
-
import { getOneInchPrice as
|
|
161
|
-
import { runContractFunction as
|
|
162
|
-
import { constructZkProof as
|
|
163
|
-
import { constructEmporiumProof as
|
|
164
|
-
import { buildInNullifiers as
|
|
165
|
-
import { generateZkProof as
|
|
166
|
-
import { getCRV as
|
|
167
|
-
import { getCVX as
|
|
168
|
-
import { determinePendleSwapType as
|
|
169
|
-
import { calculateStakeNullifier as
|
|
170
|
-
import { emporiumOp as
|
|
171
|
-
import { OpType as
|
|
172
|
-
import { dataBeefyApiConfig as
|
|
173
|
-
import { defaultHookData as
|
|
174
|
-
import { ContractType as
|
|
175
|
-
import { ExternalActionId as
|
|
176
|
-
import { BeefyAction as
|
|
177
|
-
import { KycVerificationResult as
|
|
178
|
-
import { ApprovalType as
|
|
179
|
-
import { SlippageType as
|
|
180
|
-
import { emptyDecodedTx as
|
|
181
|
-
import { MONTHS as
|
|
182
|
-
import { BonusType as
|
|
183
|
-
import { PendleAssetType as
|
|
184
|
-
import { StatType as
|
|
185
|
-
import { HinkalStakeMode as
|
|
136
|
+
import { getSequence as en, promisify as rn, resolveSync as on } from "./functions/utils/resolve-sync.utils.mjs";
|
|
137
|
+
import { convertIntegrationProviderToExternalActionId as an } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
|
|
138
|
+
import { getInteractionFromAction as nn } from "./functions/pre-transaction/interaction-to-action.mjs";
|
|
139
|
+
import { outputUtxoProcessing as mn } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
|
|
140
|
+
import { processGasEstimates as fn } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
141
|
+
import { processAmountChanges as cn } from "./functions/pre-transaction/processAmountChanges.mjs";
|
|
142
|
+
import { getFlatFees as gn } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
143
|
+
import { getNetworkObject as An, getNetworkType as yn } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
144
|
+
import { getAxelarMigrationInfo as Tn } from "./functions/utils/axelar.utils.mjs";
|
|
145
|
+
import { browserSupported as Pn, walletSupported as Sn } from "./functions/utils/userAgent.mjs";
|
|
146
|
+
import { decodeTxInput as Cn, decodeTxLogs as En, deserializeDecodedTxs as hn, serializeDecodedTxs as bn } from "./functions/utils/getDataFromTransaction.mjs";
|
|
147
|
+
import { reloadPage as vn } from "./functions/utils/reloadPage.mjs";
|
|
148
|
+
import { capitalizeFirstLetter as wn, isNullOrEmpty as Un, toTitleCase as Bn } from "./functions/utils/string.utils.mjs";
|
|
149
|
+
import { isNicknameValid as _n } from "./functions/utils/nickname.utils.mjs";
|
|
150
|
+
import { caseInsensitiveEqual as Nn, lowerCaseIncludes as On, lowerCaseStartsWith as Vn } from "./functions/utils/caseInsensitive.utils.mjs";
|
|
151
|
+
import { waitLittle as Hn } from "./functions/utils/time.utils.mjs";
|
|
152
|
+
import { patchRegistry as Kn } from "./functions/utils/volatile-patcher.utils.mjs";
|
|
153
|
+
import { calculateDollarValue as zn, ethToWei as Zn, getAmountInToken as qn, getAmountInWei as Qn, getAmountInWeiOrZero as jn, getAmountWithPrecision as Xn, getAmountWithPrecisionOrZero as Jn, randomBigInt as $n, toBigIntWithDecimals as ep } from "./functions/web3/etherFunctions.mjs";
|
|
154
|
+
import { getInputUtxoAndBalance as op, getInputUtxosFromEncryptedOutputs as tp } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
155
|
+
import { addPaddingToUtxos as ip, getShieldedBalance as sp } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
156
|
+
import { getDepositEvents as pp, retrieveEvents as mp } from "./functions/web3/events/web3RetrieveEvents.mjs";
|
|
157
|
+
import { balanceChangedHandler as fp } from "./functions/web3/events/balanceChangedHandler.mjs";
|
|
158
|
+
import { getUniswapFee as cp, getUniswapPrice as xp, getUniswapPriceHelper as gp, searchPoolAndFee as up } from "./functions/web3/uniswapAPI.mjs";
|
|
159
|
+
import { getOdosPrice as yp } from "./functions/web3/odosAPI.mjs";
|
|
160
|
+
import { getOneInchPrice as Tp } from "./functions/web3/oneInchAPI.mjs";
|
|
161
|
+
import { runContractFunction as Pp } from "./functions/web3/runContractFunction.mjs";
|
|
162
|
+
import { constructZkProof as Ip } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
163
|
+
import { constructEmporiumProof as Ep } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
164
|
+
import { buildInNullifiers as bp, buildOutCommitments as Dp, calcAccessTokenSiblingsAndSides as vp, calcAmountChanges as Lp, calcCommitmentsSiblingAndSides as wp, calcEncryptedOutputs as Up, calcPublicSignalCount as Bp, calcStealthAddressStructure as Fp, createCallDataHash as _p, deserializeCircomData as Mp, serializeCircomData as Np } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
165
|
+
import { generateZkProof as Vp } from "./functions/snarkjs/generateZkProof.mjs";
|
|
166
|
+
import { getCRV as Hp } from "./functions/protocols/curve.protocols.mjs";
|
|
167
|
+
import { getCVX as Kp } from "./functions/protocols/convex.protocols.mjs";
|
|
168
|
+
import { determinePendleSwapType as zp, determinePendleSwapTypeApiRoute as Zp, erc20TokenFromPendleAsset as qp, getAssetTypeFromPendleMarket as Qp, getTokenIndexForPendleFlatFee as jp } from "./functions/protocols/pendle.helpers.mjs";
|
|
169
|
+
import { calculateStakeNullifier as Jp, createStakeCommitment as $p, decryptStake as em, encodeHStakeMetadata as rm, encryptStake as om } from "./functions/staking/index.mjs";
|
|
170
|
+
import { emporiumOp as am, encodeEmporiumMetadata as im } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
171
|
+
import { OpType as nm, produceOp as pm } from "./functions/private-wallet/opProducer.mjs";
|
|
172
|
+
import { dataBeefyApiConfig as lm, isBeefyDeposit as fm } from "./types/beefy.types.mjs";
|
|
173
|
+
import { defaultHookData as cm, defaultHookDataArray as xm, defaultStealthAddressStructure as gm, emptyStealthAddressStructure as um } from "./types/circom-data.types.mjs";
|
|
174
|
+
import { ContractType as ym } from "./types/ethereum-network.types.mjs";
|
|
175
|
+
import { ExternalActionId as Tm } from "./types/external-action.types.mjs";
|
|
176
|
+
import { BeefyAction as Pm, ConvexAction as Sm, CurveAction as Im, EventType as Cm, INTERACTION as Em, IntegrationProvider as hm, LidoAction as bm, LidoVariant as Dm, PendleAction as vm, PendleLPAction as Lm, StakeProvider as wm, VolatileAction as Um } from "./types/hinkal.types.mjs";
|
|
177
|
+
import { KycVerificationResult as Fm, KycVerificationStatus as _m, Passports as Mm, VERIFICATION_TYPE as Nm, VerificationTypes as Om } from "./types/kyc.types.mjs";
|
|
178
|
+
import { ApprovalType as Wm } from "./types/token.types.mjs";
|
|
179
|
+
import { SlippageType as Gm, slippageLevels as Km } from "./types/slippage.types.mjs";
|
|
180
|
+
import { emptyDecodedTx as zm } from "./types/transactions.types.mjs";
|
|
181
|
+
import { MONTHS as qm, dayInMilliseconds as Qm, divideMonthOnIntervals as jm, getCurrentWeek as Xm, getDateFromWeek as Jm, getNextDay as $m, getWeekTimestamps as el, hasCertificationPeriodExpired as rl, hourInMilliseconds as ol, isWeekCurrent as tl, minuteInMilliseconds as al, parseWeek as il, secondInMilliseconds as sl, toDateString as nl, weekInMilliseconds as pl } from "./types/time.types.mjs";
|
|
182
|
+
import { BonusType as ll, CertifyType as fl, LP_TIER as dl, PaymentStatus as cl, PointType as xl, RafflePrizeType as gl, RewardPage as ul, RewardsHistoryDistribution as Al, RewardsHistoryEligibility as yl, RewardsHistorySnapshots as Rl, RewardsHistoryStatuses as Tl, RewardsPageTabs as kl, TIER_LEVEL as Pl, Timeline as Sl, emptyUserPointsBreakdown as Il, emptyUserPointsResponse as Cl } from "./types/rewards.types.mjs";
|
|
183
|
+
import { PendleAssetType as hl, PendleChains as bl, PendleDashboardTabs as Dl, PendleEarnTabs as vl, PendleMarketTransactionTypes as Ll, PendlePoolManualTabs as wl, PendlePoolTabs as Ul, PendlePoolZapTabs as Bl, PendleSwapType as Fl, PendleTabs as _l, PendleTradeGeneralTabs as Ml, PendleTradeTabs as Nl } from "./types/pendle.types.mjs";
|
|
184
|
+
import { StatType as Vl, UpperTabPossibleValues as Wl, curveNetworkNames as Hl, curvePools as Gl } from "./types/curve.types.mjs";
|
|
185
|
+
import { HinkalStakeMode as Yl } from "./types/hinkal.stake.types.mjs";
|
|
186
186
|
export {
|
|
187
187
|
Jo as ACCESS_TOKEN_MINTING_POINTS,
|
|
188
188
|
Sr as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
|
@@ -195,22 +195,22 @@ export {
|
|
|
195
195
|
Ea as AbstractNullifierSnapshotService,
|
|
196
196
|
ba as AbstractSnapshotService,
|
|
197
197
|
fi as AmTokenABI,
|
|
198
|
-
|
|
198
|
+
Wm as ApprovalType,
|
|
199
199
|
Eo as AxelarRegistry,
|
|
200
200
|
gi as BUSDABI,
|
|
201
201
|
ts as BabABI,
|
|
202
|
-
|
|
202
|
+
Pm as BeefyAction,
|
|
203
203
|
ci as BeefyVaultABI,
|
|
204
|
-
|
|
204
|
+
ll as BonusType,
|
|
205
205
|
$o as CERTIFICATION_DISABLE_WEEK,
|
|
206
206
|
eo as CIRCOM_P,
|
|
207
207
|
ro as CIRCOM_P_HALF,
|
|
208
208
|
uo as COINGECKO_API_KEY,
|
|
209
|
-
|
|
209
|
+
fl as CertifyType,
|
|
210
210
|
Ao as CoinGeckoChainLabels,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
ym as ContractType,
|
|
212
|
+
Sm as ConvexAction,
|
|
213
|
+
Im as CurveAction,
|
|
214
214
|
Ai as CurveReadingWrapperABI,
|
|
215
215
|
Ri as CurveWrappedMainPoolABI,
|
|
216
216
|
Lr as DATA_SERVER_CONFIG,
|
|
@@ -222,71 +222,71 @@ export {
|
|
|
222
222
|
Gt as EncryptionKeyPairDefaultValue,
|
|
223
223
|
mi as ErrorCategory,
|
|
224
224
|
Ze as EthereumNetworkType,
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
Cm as EventType,
|
|
226
|
+
Tm as ExternalActionId,
|
|
227
227
|
qa as FeeOverTransactionValueError,
|
|
228
228
|
is as GalxeABI,
|
|
229
229
|
ir as HINKAL_EXTERNAL_ACTION_FEE,
|
|
230
230
|
sr as HINKAL_UNIVERSAL_FEE,
|
|
231
231
|
Qt as Hinkal,
|
|
232
|
-
|
|
232
|
+
Yl as HinkalStakeMode,
|
|
233
233
|
V as IMAGE_PATHS,
|
|
234
|
-
|
|
234
|
+
Em as INTERACTION,
|
|
235
235
|
Wi as ISwapRouterABI,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
236
|
+
hm as IntegrationProvider,
|
|
237
|
+
Fm as KycVerificationResult,
|
|
238
|
+
_m as KycVerificationStatus,
|
|
239
|
+
dl as LP_TIER,
|
|
240
|
+
bm as LidoAction,
|
|
241
|
+
Dm as LidoVariant,
|
|
242
|
+
qm as MONTHS,
|
|
243
243
|
ya as MerkleTree,
|
|
244
244
|
Ta as MerkleTreeIncompleteError,
|
|
245
245
|
Ya as MultiThreadedUtxoUtils,
|
|
246
246
|
bo as NETWORKS,
|
|
247
|
-
|
|
247
|
+
nm as OpType,
|
|
248
248
|
Fr as PLAYGROUND_RELAYER_URLS,
|
|
249
249
|
_r as PLAYGROUND_SERVER_URLS,
|
|
250
250
|
Mr as PLAYGROUND_URL,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
251
|
+
Mm as Passports,
|
|
252
|
+
cl as PaymentStatus,
|
|
253
|
+
vm as PendleAction,
|
|
254
|
+
hl as PendleAssetType,
|
|
255
|
+
bl as PendleChains,
|
|
256
|
+
Dl as PendleDashboardTabs,
|
|
257
|
+
vl as PendleEarnTabs,
|
|
258
|
+
Lm as PendleLPAction,
|
|
259
|
+
Ll as PendleMarketTransactionTypes,
|
|
260
|
+
wl as PendlePoolManualTabs,
|
|
261
|
+
Ul as PendlePoolTabs,
|
|
262
|
+
Bl as PendlePoolZapTabs,
|
|
263
|
+
Fl as PendleSwapType,
|
|
264
|
+
_l as PendleTabs,
|
|
265
|
+
Ml as PendleTradeGeneralTabs,
|
|
266
|
+
Nl as PendleTradeTabs,
|
|
267
|
+
xl as PointType,
|
|
268
268
|
Pe as PopularTokenSymbols,
|
|
269
269
|
Nr as RELAYER_CONFIG,
|
|
270
270
|
Or as RELAYER_URLS,
|
|
271
271
|
et as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
272
272
|
rt as RafflePrizePoints,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
273
|
+
gl as RafflePrizeType,
|
|
274
|
+
ul as RewardPage,
|
|
275
|
+
Al as RewardsHistoryDistribution,
|
|
276
|
+
yl as RewardsHistoryEligibility,
|
|
277
|
+
Rl as RewardsHistorySnapshots,
|
|
278
|
+
Tl as RewardsHistoryStatuses,
|
|
279
|
+
kl as RewardsPageTabs,
|
|
280
280
|
Vr as SERVER_URLS,
|
|
281
281
|
Wr as STAGING_RELAYER_URLS,
|
|
282
282
|
Hr as STAGING_SERVER_URLS,
|
|
283
283
|
Gr as STAGING_URL,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
284
|
+
Gm as SlippageType,
|
|
285
|
+
wm as StakeProvider,
|
|
286
|
+
Vl as StatType,
|
|
287
287
|
Cr as SupportedPassports,
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
Pl as TIER_LEVEL,
|
|
289
|
+
Sl as Timeline,
|
|
290
290
|
_a as TokenChecker,
|
|
291
291
|
Va as TransactionType,
|
|
292
292
|
Na as TransactionsManager,
|
|
@@ -294,19 +294,19 @@ export {
|
|
|
294
294
|
Fi as USDR3CRVABI,
|
|
295
295
|
Ui as USDRABI,
|
|
296
296
|
Mi as USDTABI,
|
|
297
|
-
|
|
297
|
+
Wl as UpperTabPossibleValues,
|
|
298
298
|
$a as UserFriendlyErrorCodes,
|
|
299
299
|
Kt as UserKeys,
|
|
300
300
|
wa as Utxo,
|
|
301
|
-
|
|
301
|
+
Nm as VERIFICATION_TYPE,
|
|
302
302
|
wt as ValueCache,
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
Om as VerificationTypes,
|
|
304
|
+
Um as VolatileAction,
|
|
305
305
|
Ga as VolatileHelper,
|
|
306
306
|
Oi as WETHABI,
|
|
307
307
|
Bt as abiDecodeUtxo,
|
|
308
308
|
As as absBigInt,
|
|
309
|
-
|
|
309
|
+
ip as addPaddingToUtxos,
|
|
310
310
|
Er as aipriseBaseOnboardingProductionUrl,
|
|
311
311
|
hr as aipriseBaseOnboardingSandboxUrl,
|
|
312
312
|
Lo as arbMainnetCrvCvxRegistry,
|
|
@@ -321,7 +321,7 @@ export {
|
|
|
321
321
|
Ge as axelar1Data,
|
|
322
322
|
Ye as axelar2Data,
|
|
323
323
|
ht as babyJubInstance,
|
|
324
|
-
|
|
324
|
+
fp as balanceChangedHandler,
|
|
325
325
|
Uo as baseCrvCvxRegistry,
|
|
326
326
|
Oe as baseData,
|
|
327
327
|
ye as baseRegistry,
|
|
@@ -336,23 +336,23 @@ export {
|
|
|
336
336
|
j as bnbMainnetRegistryFixed,
|
|
337
337
|
gt as bnbPendleRegistry,
|
|
338
338
|
ot as boostAmounts,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
339
|
+
Pn as browserSupported,
|
|
340
|
+
bp as buildInNullifiers,
|
|
341
|
+
Dp as buildOutCommitments,
|
|
342
|
+
vp as calcAccessTokenSiblingsAndSides,
|
|
343
|
+
Lp as calcAmountChanges,
|
|
344
|
+
wp as calcCommitmentsSiblingAndSides,
|
|
345
|
+
Up as calcEncryptedOutputs,
|
|
346
|
+
Bp as calcPublicSignalCount,
|
|
347
|
+
Fp as calcStealthAddressStructure,
|
|
348
348
|
ks as calculateAmountUsingBeeps,
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
zn as calculateDollarValue,
|
|
350
|
+
Jp as calculateStakeNullifier,
|
|
351
351
|
Ps as calculateSum,
|
|
352
352
|
l as callOneInchAPI,
|
|
353
353
|
x as callRelayerTransactAPI,
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
wn as capitalizeFirstLetter,
|
|
355
|
+
Nn as caseInsensitiveEqual,
|
|
356
356
|
qe as chainIds,
|
|
357
357
|
Qe as chainIdsByType,
|
|
358
358
|
ii as checkErrorForSnapshotRestore,
|
|
@@ -362,51 +362,51 @@ export {
|
|
|
362
362
|
yo as coingeckoPriceUrl,
|
|
363
363
|
Ro as coingeckoPriceUrl2,
|
|
364
364
|
To as coingeckoTokenListUrl,
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
Ep as constructEmporiumProof,
|
|
366
|
+
Ip as constructZkProof,
|
|
367
367
|
ur as contractMetadataMapping,
|
|
368
|
-
|
|
369
|
-
|
|
368
|
+
an as convertIntegrationProviderToExternalActionId,
|
|
369
|
+
_p as createCallDataHash,
|
|
370
370
|
Vs as createProvider,
|
|
371
|
-
|
|
371
|
+
$p as createStakeCommitment,
|
|
372
372
|
je as crossChainAccessTokenNetworks,
|
|
373
373
|
to as crvSymbol,
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
Hl as curveNetworkNames,
|
|
375
|
+
Gl as curvePools,
|
|
376
376
|
ao as curveWithdrawGasTokenAddress,
|
|
377
377
|
io as curveZeroAddress,
|
|
378
378
|
Ba as customTokenRegistry,
|
|
379
379
|
so as cvxSymbol,
|
|
380
380
|
ki as daiABI,
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
lm as dataBeefyApiConfig,
|
|
382
|
+
Qm as dayInMilliseconds,
|
|
383
383
|
Hs as decodeMetadata,
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
Cn as decodeTxInput,
|
|
385
|
+
En as decodeTxLogs,
|
|
386
386
|
_t as decodeUtxo,
|
|
387
387
|
Mt as decodeUtxoConstructorArgs,
|
|
388
|
-
|
|
388
|
+
em as decryptStake,
|
|
389
389
|
Ot as decryptUtxo,
|
|
390
390
|
Vt as decryptUtxoConstructorArgs,
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
391
|
+
cm as defaultHookData,
|
|
392
|
+
xm as defaultHookDataArray,
|
|
393
|
+
gm as defaultStealthAddressStructure,
|
|
394
394
|
zr as deploymentMode,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
395
|
+
Mp as deserializeCircomData,
|
|
396
|
+
hn as deserializeDecodedTxs,
|
|
397
|
+
zp as determinePendleSwapType,
|
|
398
|
+
Zp as determinePendleSwapTypeApiRoute,
|
|
399
|
+
jm as divideMonthOnIntervals,
|
|
400
|
+
am as emporiumOp,
|
|
401
|
+
zm as emptyDecodedTx,
|
|
402
|
+
um as emptyStealthAddressStructure,
|
|
403
|
+
Il as emptyUserPointsBreakdown,
|
|
404
|
+
Cl as emptyUserPointsResponse,
|
|
405
|
+
im as encodeEmporiumMetadata,
|
|
406
|
+
rm as encodeHStakeMetadata,
|
|
407
|
+
om as encryptStake,
|
|
408
408
|
Wt as encryptUtxo,
|
|
409
|
-
|
|
409
|
+
qp as erc20TokenFromPendleAsset,
|
|
410
410
|
ft as ethBeefyRegistry,
|
|
411
411
|
Bo as ethCrvCvxRegistry,
|
|
412
412
|
Le as ethMainnetData,
|
|
@@ -414,32 +414,32 @@ export {
|
|
|
414
414
|
z as ethMainnetRegistryFixed,
|
|
415
415
|
ut as ethPendleRegistry,
|
|
416
416
|
Wo as ethSymbol,
|
|
417
|
-
|
|
417
|
+
Zn as ethToWei,
|
|
418
418
|
no as ethVolatileAddress,
|
|
419
419
|
Wa as externalActionToTransactionType,
|
|
420
420
|
oi as extractMessage,
|
|
421
421
|
hi as factoryABI,
|
|
422
422
|
At as findSyAddress,
|
|
423
423
|
Ss as fixDecimalsAmount,
|
|
424
|
-
|
|
424
|
+
Vp as generateZkProof,
|
|
425
425
|
Gs as getActionFromMetadata,
|
|
426
426
|
nr as getAmountAfterRelayAndFlatFees,
|
|
427
427
|
pr as getAmountAfterRelayAndFlatFeesAndSlippage,
|
|
428
428
|
mr as getAmountAfterRelayFee,
|
|
429
429
|
lr as getAmountAfterSlippage,
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
430
|
+
qn as getAmountInToken,
|
|
431
|
+
Qn as getAmountInWei,
|
|
432
|
+
jn as getAmountInWeiOrZero,
|
|
433
|
+
Xn as getAmountWithPrecision,
|
|
434
|
+
Jn as getAmountWithPrecisionOrZero,
|
|
435
435
|
fr as getAmountWithoutFee,
|
|
436
|
-
|
|
436
|
+
Qp as getAssetTypeFromPendleMarket,
|
|
437
437
|
u as getAxelarGasEstimate,
|
|
438
|
-
|
|
438
|
+
Tn as getAxelarMigrationInfo,
|
|
439
439
|
d as getBeefyHistoricalChartData,
|
|
440
440
|
dt as getBeefyRegistryWithChainId,
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
Hp as getCRV,
|
|
442
|
+
Kp as getCVX,
|
|
443
443
|
Oo as getCalcTokenAmountWithDynamicArray,
|
|
444
444
|
zt as getCircomSign,
|
|
445
445
|
ko as getCoingeckoIdForNativeTokens,
|
|
@@ -449,12 +449,12 @@ export {
|
|
|
449
449
|
n as getCoingeckoPrices,
|
|
450
450
|
p as getCoingeckoTokenList,
|
|
451
451
|
Fo as getCrvCvxWithChainId,
|
|
452
|
-
|
|
452
|
+
Xm as getCurrentWeek,
|
|
453
453
|
v as getCurvePools,
|
|
454
454
|
L as getCurvePoolsforPriceFetching,
|
|
455
455
|
o as getDataServerURL,
|
|
456
|
-
|
|
457
|
-
|
|
456
|
+
Jm as getDateFromWeek,
|
|
457
|
+
pp as getDepositEvents,
|
|
458
458
|
Ie as getERC20Registry,
|
|
459
459
|
qs as getERC20Token,
|
|
460
460
|
Qs as getERC20TokenBySymbol,
|
|
@@ -464,7 +464,7 @@ export {
|
|
|
464
464
|
Ys as getExternalActionIdHash,
|
|
465
465
|
zs as getExternalMetadataHash,
|
|
466
466
|
Ce as getFixedRegistry,
|
|
467
|
-
|
|
467
|
+
gn as getFlatFees,
|
|
468
468
|
y as getGasEstimates,
|
|
469
469
|
Do as getGasStationUrl,
|
|
470
470
|
ja as getGenericFeeOverTransactionValueErrorMessage,
|
|
@@ -473,34 +473,34 @@ export {
|
|
|
473
473
|
dr as getHinkalFeeRateInBeeps,
|
|
474
474
|
Ar as getHinkalParameters,
|
|
475
475
|
E as getIdleRelay,
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
476
|
+
op as getInputUtxoAndBalance,
|
|
477
|
+
tp as getInputUtxosFromEncryptedOutputs,
|
|
478
|
+
nn as getInteractionFromAction,
|
|
479
|
+
An as getNetworkObject,
|
|
480
|
+
yn as getNetworkType,
|
|
481
|
+
$m as getNextDay,
|
|
482
482
|
Xe as getNonLocalhostChainId,
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
yp as getOdosPrice,
|
|
484
|
+
Tp as getOneInchPrice,
|
|
485
485
|
yt as getPendleRegistryWithChainId,
|
|
486
486
|
N as getPublicWalletBalance,
|
|
487
487
|
cr as getRelayFee,
|
|
488
488
|
_ as getRelayerURL,
|
|
489
489
|
en as getSequence,
|
|
490
490
|
t as getServerURL,
|
|
491
|
-
|
|
491
|
+
sp as getShieldedBalance,
|
|
492
492
|
xr as getSlippageFee,
|
|
493
|
-
|
|
493
|
+
jp as getTokenIndexForPendleFlatFee,
|
|
494
494
|
T as getTokenPrice,
|
|
495
495
|
k as getTokenPriceEth,
|
|
496
496
|
P as getTokenPrices,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
497
|
+
cp as getUniswapFee,
|
|
498
|
+
xp as getUniswapPrice,
|
|
499
|
+
gp as getUniswapPriceHelper,
|
|
500
500
|
Is as getValueFirstNDigit,
|
|
501
|
-
|
|
501
|
+
el as getWeekTimestamps,
|
|
502
502
|
Rt as getYtTokensWithChainId,
|
|
503
|
-
|
|
503
|
+
rl as hasCertificationPeriodExpired,
|
|
504
504
|
Xt as hinkalActionBeefy,
|
|
505
505
|
$t as hinkalActionConvex,
|
|
506
506
|
ra as hinkalActionCurve,
|
|
@@ -511,22 +511,22 @@ export {
|
|
|
511
511
|
pa as hinkalSwap,
|
|
512
512
|
la as hinkalTransfer,
|
|
513
513
|
da as hinkalWithdraw,
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
ol as hourInMilliseconds,
|
|
515
|
+
fm as isBeefyDeposit,
|
|
516
516
|
Zt as isCircomNegative,
|
|
517
517
|
Zr as isDevelopment,
|
|
518
518
|
Je as isLocalNetwork,
|
|
519
|
-
|
|
519
|
+
_n as isNicknameValid,
|
|
520
520
|
qr as isNode,
|
|
521
521
|
Qr as isNotProduction,
|
|
522
|
-
|
|
522
|
+
Un as isNullOrEmpty,
|
|
523
523
|
$e as isOptimismBedrockLike,
|
|
524
524
|
er as isOptimismEcotoneLike,
|
|
525
525
|
rr as isOptimismLike,
|
|
526
526
|
jr as isPlayground,
|
|
527
527
|
Xr as isStaging,
|
|
528
528
|
Jr as isWebpack,
|
|
529
|
-
|
|
529
|
+
tl as isWeekCurrent,
|
|
530
530
|
Tt as isYtToken,
|
|
531
531
|
bt as jubHolder,
|
|
532
532
|
Gi as lidoStEthAbi,
|
|
@@ -544,8 +544,8 @@ export {
|
|
|
544
544
|
or as localhostNetwork,
|
|
545
545
|
Te as localhostRegistry,
|
|
546
546
|
ni as logError,
|
|
547
|
-
|
|
548
|
-
|
|
547
|
+
On as lowerCaseIncludes,
|
|
548
|
+
Vn as lowerCaseStartsWith,
|
|
549
549
|
tt as lpLink,
|
|
550
550
|
at as lpProgramStartWeek,
|
|
551
551
|
U as lpTokens,
|
|
@@ -554,7 +554,7 @@ export {
|
|
|
554
554
|
Cs as minBigInt,
|
|
555
555
|
ls as mintAccessToken,
|
|
556
556
|
fs as mintTokenCrossChain,
|
|
557
|
-
|
|
557
|
+
al as minuteInMilliseconds,
|
|
558
558
|
za as multiThreadedUtxoUtils,
|
|
559
559
|
tr as networkRegistry,
|
|
560
560
|
po as oneInchZeroAddress,
|
|
@@ -566,10 +566,10 @@ export {
|
|
|
566
566
|
kt as optimismPendleRegistry,
|
|
567
567
|
ue as optimismRegistry,
|
|
568
568
|
oe as optimismRegistryFixed,
|
|
569
|
-
|
|
569
|
+
mn as outputUtxoProcessing,
|
|
570
570
|
mo as ownerPublicKey,
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
il as parseWeek,
|
|
572
|
+
Kn as patchRegistry,
|
|
573
573
|
lo as permitSignatureValidFor,
|
|
574
574
|
Qi as poLidoNftAbi,
|
|
575
575
|
qo as poLidoNftAddress,
|
|
@@ -584,41 +584,42 @@ export {
|
|
|
584
584
|
vt as preProcessing,
|
|
585
585
|
So as proCoingeckoUrl,
|
|
586
586
|
Io as proHeader,
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
587
|
+
cn as processAmountChanges,
|
|
588
|
+
fn as processGasEstimates,
|
|
589
|
+
pm as produceOp,
|
|
590
|
+
rn as promisify,
|
|
590
591
|
Ci as quoterV2ABI,
|
|
591
592
|
st as raffleProgramStartWeek,
|
|
592
|
-
|
|
593
|
+
$n as randomBigInt,
|
|
593
594
|
nt as referralLink,
|
|
594
|
-
|
|
595
|
+
vn as reloadPage,
|
|
595
596
|
Js as requireEnv,
|
|
596
597
|
_s as resetCache,
|
|
597
598
|
ua as resetMerkleTrees,
|
|
598
|
-
|
|
599
|
+
on as resolveSync,
|
|
599
600
|
Xa as rethrowKnownGasErrorIfPossible,
|
|
600
|
-
|
|
601
|
-
|
|
601
|
+
mp as retrieveEvents,
|
|
602
|
+
Pp as runContractFunction,
|
|
602
603
|
Di as sanctionsListABI,
|
|
603
604
|
Ms as saveTxsCache,
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
605
|
+
up as searchPoolAndFee,
|
|
606
|
+
sl as secondInMilliseconds,
|
|
607
|
+
Np as serializeCircomData,
|
|
608
|
+
bn as serializeDecodedTxs,
|
|
608
609
|
Ns as setHinkalCache,
|
|
609
610
|
fo as signaturePhrase,
|
|
610
|
-
|
|
611
|
+
Km as slippageLevels,
|
|
611
612
|
Qo as stMaticSymbol,
|
|
612
613
|
br as supportedPassportLinks,
|
|
613
614
|
co as threePoolSymbol,
|
|
614
615
|
Es as toBigInt,
|
|
615
616
|
hs as toBigIntOrUndefined,
|
|
616
|
-
|
|
617
|
+
ep as toBigIntWithDecimals,
|
|
617
618
|
bs as toCommaSeparatedNumberString,
|
|
618
|
-
|
|
619
|
+
nl as toDateString,
|
|
619
620
|
Ds as toInt,
|
|
620
621
|
vs as toNumberOrUndefined,
|
|
621
|
-
|
|
622
|
+
Bn as toTitleCase,
|
|
622
623
|
ei as transactionErrorCodes,
|
|
623
624
|
rs as transactionProverABI,
|
|
624
625
|
Ls as trimLeadingZeros,
|
|
@@ -630,9 +631,9 @@ export {
|
|
|
630
631
|
H as urlForBeefyVaultTokens,
|
|
631
632
|
G as urlForBeefyVaultTotalInUSD,
|
|
632
633
|
K as urlForRegularTokenPricesInBeefy,
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
634
|
+
Hn as waitLittle,
|
|
635
|
+
Sn as walletSupported,
|
|
636
|
+
pl as weekInMilliseconds,
|
|
636
637
|
jo as wstEthSymbol,
|
|
637
638
|
xo as zeroAddress
|
|
638
639
|
};
|