@sabaaa1/common 0.0.40 → 0.0.44
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/assets/snarkjsWorkerLauncher-Dsmwcy9L.js +1176 -0
- package/assets/snarkjsWorkerLogic-B9NbAQYW.js +13634 -0
- package/assets/utxoWorkerLauncher-BUSzpnDL.js +1205 -0
- package/assets/utxoWorkerLogic-DEqWaadT.js +114681 -0
- package/assets/zkProofWorkerLauncher-CoKmCKjC.js +1205 -0
- package/assets/zkProofWorkerLogic-DB9cbXu-.js +114173 -0
- package/index.cjs +1 -1
- package/index.d.ts +0 -5
- package/index.mjs +111 -120
- package/package.json +16 -39
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -0
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +4 -0
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -0
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +4 -0
- package/webworker/viteWorkerURL.constant.cjs +1 -0
- package/webworker/viteWorkerURL.constant.d.ts +9 -0
- package/webworker/viteWorkerURL.constant.mjs +12 -0
- package/webworker/worker.registry.cjs +1 -1
- package/webworker/worker.registry.mjs +2 -8
- package/webworker/workerFactory.cjs +1 -1
- package/webworker/workerFactory.d.ts +4 -3
- package/webworker/workerFactory.mjs +28 -29
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -0
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +4 -0
- package/webworker/workerErrorHandler.cjs +0 -1
- package/webworker/workerErrorHandler.mjs +0 -8
- package/webworker/workers/snarkjs.worker.d.ts +0 -0
- package/webworker/workers/utxo.worker.d.ts +0 -0
- package/webworker/workers/zkProof.worker.d.ts +0 -0
package/index.mjs
CHANGED
|
@@ -9,20 +9,20 @@ import { getIdleRelay as P } from "./API/relayCalls.mjs";
|
|
|
9
9
|
import { API as N } from "./API/API.mjs";
|
|
10
10
|
import { getRelayerURL as h } from "./API/getRelayerURL.mjs";
|
|
11
11
|
import { getPublicWalletBalance as y } from "./API/duneAPI.mjs";
|
|
12
|
-
import { WALLET_API as L, rpcGetStorageChanges as U, rpcSimulateBundle as B, rpcSimulateTransaction as v, simulateTx as M, tenderlyRpcLinks as
|
|
12
|
+
import { WALLET_API as L, rpcGetStorageChanges as U, rpcSimulateBundle as B, rpcSimulateTransaction as v, simulateTx as M, tenderlyRpcLinks as b } from "./API/tenderly.api.mjs";
|
|
13
13
|
import { tokensInfoCall as V } from "./API/token-calls.mjs";
|
|
14
|
-
import { callLifiAPI as
|
|
15
|
-
import { LifiStatus as
|
|
14
|
+
import { callLifiAPI as G } from "./API/callLifiAPI.mjs";
|
|
15
|
+
import { LifiStatus as W, getLifiStatus as w } from "./API/getLifiStatus.mjs";
|
|
16
16
|
import { generateAumPoints as X, generateTradingPoints as z } from "./API/generate-trading-points.mjs";
|
|
17
17
|
import { createBrotherhood as Z, editBrotherhood as j, getBrotherhood as J, getBrotherhoodUsers as Q, getCurrentUserBrotherhood as $, getCurrentUserBrotherhoodUsers as ee, getPublicBrotherhoods as re, joinBrotherhood as oe, leaveBrotherhood as te } from "./API/brotherhoodCalls.mjs";
|
|
18
18
|
import { getHinkalLandingURL as ie, getRewardsURL as se, getWalletOnboardingURL as ne } from "./API/getWebsiteURL.mjs";
|
|
19
19
|
import { claimMerchItem as me, createOrUpdateMerchAddress as ce, getCurrentAuctionsInfo as fe, getCurrentDayBoxPrizeCounts as le, getMerchOrders as xe, getMysteryBoxesHistory as Ae, getServerUtc as Se, openMysteryBox as Te } from "./API/mysteryBoxesCalls.mjs";
|
|
20
20
|
import { IMAGE_PATHS as de } from "./constants/assets.constants.mjs";
|
|
21
21
|
import { arbMainnetRegistry as Re, arbMainnetRegistryFixed as Ie, arcTestnetRegistry as ue, avalancheRegistry as _e, avalancheRegistryFixed as Pe, baseRegistry as Ce, baseRegistryFixed as Ne, bnbMainnetRegistry as Oe, bnbMainnetRegistryFixed as he, ethMainnetRegistry as De, ethMainnetRegistryFixed as ye, localhostRegistry as ke, optimismRegistry as Le, optimismRegistryFixed as Ue, polygonRegistry as Be, polygonRegistryFixed as ve } from "./constants/token-data/index.mjs";
|
|
22
|
-
import { default as
|
|
22
|
+
import { default as be } from "./constants/deploy-data/deploy-data-bnbMainnet.json.mjs";
|
|
23
23
|
import { default as Ve } from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
24
|
+
import { default as Ge } from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
25
|
+
import { default as We } from "./constants/deploy-data/deploy-data-optimism.json.mjs";
|
|
26
26
|
import { default as Ke } from "./constants/deploy-data/deploy-data-polygon.json.mjs";
|
|
27
27
|
import { default as ze } from "./constants/deploy-data/deploy-data-avalanche.json.mjs";
|
|
28
28
|
import { default as Ze } from "./constants/deploy-data/deploy-data-base.json.mjs";
|
|
@@ -32,10 +32,10 @@ import { ALCHEMY_API_KEY as rr, ALCHEMY_TEST_KEY as or, EthereumNetworkType as t
|
|
|
32
32
|
import { NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as Ar, defaultFeeToken as Sr } from "./constants/fees.constants.mjs";
|
|
33
33
|
import { contractMetadataMapping as Er, getHinkalParameters as dr, uniswapV2PoolData as gr, uniswapV3FactoryData as Rr, uniswapV3PoolData as Ir, uniswapV3QuoterData as ur } from "./constants/contracts.constants.mjs";
|
|
34
34
|
import { AIPRISE_KYB_TEMPLATE_ID_PROD as Pr, AIPRISE_KYC_TEMPLATE_ID_PROD as Cr, RECLAIM_MESSAGE_TO_SIGN as Nr, ReclaimPassports as Or, StandardPassports as hr, SupportedPassports as Dr, aipriseBaseOnboardingProductionUrl as yr, aipriseBaseOnboardingSandboxUrl as kr, supportedPassportLinks as Lr } from "./constants/kyc.constants.mjs";
|
|
35
|
-
import { API_CONFIG as Br, DATA_SERVER_CONFIG as vr, DATA_SERVER_URL_ENDPOINT as Mr, DATA_SERVER_URL_LOCAL as
|
|
35
|
+
import { API_CONFIG as Br, DATA_SERVER_CONFIG as vr, DATA_SERVER_URL_ENDPOINT as Mr, DATA_SERVER_URL_LOCAL as br, PLAYGROUND_RELAYER_URLS as Fr, PLAYGROUND_SERVER_URLS as Vr, PLAYGROUND_SNAPSHOT_SERVER_URLS as Hr, PLAYGROUND_URL as Gr, PRODUCTION_RELAYER_URLS as Yr, PRODUCTION_SERVER_URLS as Wr, PRODUCTION_SNAPSHOT_SERVER_URLS as wr, PRODUCTION_URL as Kr, RELAYER_CONFIG as Xr, STAGING_RELAYER_URLS as zr, STAGING_SERVER_URLS as qr, STAGING_SNAPSHOT_SERVER_URLS as Zr, STAGING_URL as jr, VERIFICATION_ROUTES as Jr, WALLET_TASK_VERIFICATION_TYPES as Qr } from "./constants/server.constants.mjs";
|
|
36
36
|
import { DEPLOYMENT_MODE as eo, deploymentMode as ro, isDevelopment as oo, isExtension as to, isNode as ao, isNotClientProduction as io, isNotProduction as so, isPlayground as no, isSandbox as po, isStaging as mo, isWebpack as co } from "./constants/vite.constants.mjs";
|
|
37
|
-
import { ARC_TESTNET_USDC_ADDRESS as lo, AssetChangeType as xo, CIRCOM_MERKLE_LENGTH as Ao, CIRCOM_P as So, CIRCOM_P_HALF as To, EIP1271_FAILURE as Eo, EIP1271_SUCCESS as go, HINKAL_PRIVATE_SEND_VARIABLE_RATE as Ro, HINKAL_SWAP_VARIABLE_RATE as Io, MERKLE_LEVELS as uo, NFT_1155_TRANSACTION_TYPE as _o, NFT_721_TRANSACTION_TYPE as Po, NFT_TRANSACTION_TYPES as Co, RELAYERS_ARRAY as No, RELAYER_ADDRESS1 as Oo, RELAYER_ADDRESS2 as ho, RELAYER_ADDRESS3 as Do, TOKEN_VALUE_UNLIMITED_THRESHOLD as yo, TokenType as ko, defaultSignatureData as Lo, ethVolatileAddress as Uo, hinkalSimulationAddress as Bo, oneInchZeroAddress as vo, ownerPublicKey as Mo, permitSignatureValidFor as
|
|
38
|
-
import { COINGECKO_API_KEY as
|
|
37
|
+
import { ARC_TESTNET_USDC_ADDRESS as lo, AssetChangeType as xo, CIRCOM_MERKLE_LENGTH as Ao, CIRCOM_P as So, CIRCOM_P_HALF as To, EIP1271_FAILURE as Eo, EIP1271_SUCCESS as go, HINKAL_PRIVATE_SEND_VARIABLE_RATE as Ro, HINKAL_SWAP_VARIABLE_RATE as Io, MERKLE_LEVELS as uo, NFT_1155_TRANSACTION_TYPE as _o, NFT_721_TRANSACTION_TYPE as Po, NFT_TRANSACTION_TYPES as Co, RELAYERS_ARRAY as No, RELAYER_ADDRESS1 as Oo, RELAYER_ADDRESS2 as ho, RELAYER_ADDRESS3 as Do, TOKEN_VALUE_UNLIMITED_THRESHOLD as yo, TokenType as ko, defaultSignatureData as Lo, ethVolatileAddress as Uo, hinkalSimulationAddress as Bo, oneInchZeroAddress as vo, ownerPublicKey as Mo, permitSignatureValidFor as bo, signaturePhrase as Fo, zeroAddress as Vo } from "./constants/protocol.constants.mjs";
|
|
38
|
+
import { COINGECKO_API_KEY as Go, CoinGeckoChainLabels as Yo, coingeckoPriceUrl as Wo, coingeckoPriceUrl2 as wo, coingeckoTokenListUrl as Ko, getCoinByAddress as Xo, getCoinById as zo, getCoingeckoIdForNativeTokens as qo, getCoingeckoPlatform as Zo, proCoingeckoUrl as jo, proHeader as Jo, searchBySymbol as Qo } from "./constants/coingecko.constants.mjs";
|
|
39
39
|
import { NETWORKS as et, getGasStationUrl as rt } from "./constants/backend.constants.mjs";
|
|
40
40
|
import { ACCESS_TOKEN_MINTING_POINTS as tt, ACCESS_TOKEN_RECLAIM_POINTS as at, CERTIFICATION_DISABLE_WEEK as it, REWARDS_ENCRYPTION_PASSWORD as st, REWARDS_MESSAGE_TO_SIGN as nt, REWARD_RECEIVABLE_TOKEN_SYMBOLS as pt, boostAmounts as mt, lpLink as ct, lpProgramStartWeek as ft, pointsLink as lt, raffleProgramStartWeek as xt, referralLink as At } from "./constants/rewards.constants.mjs";
|
|
41
41
|
import { blockReorgDepth as Tt } from "./constants/reorg-depths.constants.mjs";
|
|
@@ -43,9 +43,9 @@ import { mediaUrls as dt } from "./constants/mediaUrls.constants.mjs";
|
|
|
43
43
|
import { allowanceHolder as Rt, pancaceSwapPermit2Address as It, permit2Address as ut, permit2Addresses as _t, uniswap2Manager as Pt, uniswap3Manager as Ct, uniswapApprovalExtraCallData as Nt, uniswapWorkaroundAddresses as Ot } from "./constants/permit2.constants.mjs";
|
|
44
44
|
import { HETH_ERC20_TOKEN_ADDRESS as Dt, NATIVE_TOKEN_WRAPPER_ADDRESSES as yt, SWAP_FEE_TAKER_ADDRESSES as kt, SWAP_ROUTER_ADDRESSES as Lt, WETH_ERC20_TOKEN_ADDRESS as Ut, WRAPPER_TOKEN_EXCHANGE_ADDRESSES as Bt } from "./constants/addresses.constants.mjs";
|
|
45
45
|
import { APPROVED_UTXO_CONVERSION_COUNT as Mt } from "./constants/conversion.constants.mjs";
|
|
46
|
-
import { TOKEN_LIMITS as
|
|
47
|
-
import { MAX_DISPLAY_DECIMALS as
|
|
48
|
-
import { BRIDGING_URLS as
|
|
46
|
+
import { TOKEN_LIMITS as Ft, getTokensLimits as Vt } from "./constants/token.limits.constants.mjs";
|
|
47
|
+
import { MAX_DISPLAY_DECIMALS as Gt } from "./constants/balance.constants.mjs";
|
|
48
|
+
import { BRIDGING_URLS as Wt } from "./constants/bridging.constants.mjs";
|
|
49
49
|
import { UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES as Kt, UNSUPPORTED_WALLET_IDS as Xt } from "./constants/wallet.constants.mjs";
|
|
50
50
|
import { presaleABI as qt, presaleContractInfoByChain as Zt } from "./constants/presale.constants.mjs";
|
|
51
51
|
import { LIFISCAN_URL as Jt } from "./constants/lifi.constants.mjs";
|
|
@@ -57,9 +57,9 @@ import { EVENTS_INITIAL_BLOCKS as _a } from "./constants/events.constants.mjs";
|
|
|
57
57
|
import { APPROVE_FUNCTION_SIGNATURE as Ca, NFT_APPROVE_FUNCTION_SIGNATURE as Na, NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE as Oa, PERMIT2_APPROVE_FUNCTION_SIGNATURE as ha, TRANSFER_FUNCTION_SIGNATURE as Da } from "./constants/function-signatures.constants.mjs";
|
|
58
58
|
import { poseidonFunction as ka, poseidonHash as La, poseidonHolder as Ua } from "./crypto/poseidon.mjs";
|
|
59
59
|
import { babyJubInstance as va, jubHolder as Ma } from "./crypto/babyJub.mjs";
|
|
60
|
-
import { preProcessing as
|
|
60
|
+
import { preProcessing as Fa } from "./crypto/preProcessing.mjs";
|
|
61
61
|
import { ValueCache as Ha } from "./data-structures/ValueCache/ValueCache.mjs";
|
|
62
|
-
import { abiDecodeUtxo as
|
|
62
|
+
import { abiDecodeUtxo as Ya, checkUtxoSignature as Wa, decodeUtxo as wa, decodeUtxoConstructorArgs as Ka } from "./data-structures/crypto-keys/decodeUTXO.mjs";
|
|
63
63
|
import { decryptUtxo as za, decryptUtxoConstructorArgs as qa, encryptUtxo as Za } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
64
64
|
import { EncryptionKeyPairDefaultValue as Ja, UserKeys as Qa, stealthAddressCacheDevice as $a, stealthPairCacheDevice as ei } from "./data-structures/crypto-keys/keys.mjs";
|
|
65
65
|
import { getCircomSign as oi, isCircomNegative as ti } from "./data-structures/crypto-keys/keyUtils.mjs";
|
|
@@ -79,9 +79,9 @@ import { AbstractCommitmentsSnapshotService as yi } from "./data-structures/even
|
|
|
79
79
|
import { AbstractApprovalsSnapshotService as Li } from "./data-structures/event-service/AbstractApprovalsSnapshotService.mjs";
|
|
80
80
|
import { AbstractNullifierSnapshotService as Bi } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
|
|
81
81
|
import { AbstractSnapshotService as Mi } from "./data-structures/event-service/AbstractSnapshotService.mjs";
|
|
82
|
-
import { AbstractEventService as
|
|
82
|
+
import { AbstractEventService as Fi } from "./data-structures/event-service/AbstractEventService.mjs";
|
|
83
83
|
import { BlockchainEventEmitter as Hi } from "./data-structures/event-service/BlockchainEventEmitter.mjs";
|
|
84
|
-
import { Utxo as
|
|
84
|
+
import { Utxo as Yi } from "./data-structures/utxo/Utxo.mjs";
|
|
85
85
|
import { customTokenRegistry as wi } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
86
86
|
import { TokenChecker as Xi } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
|
|
87
87
|
import { TransactionType as qi } from "./data-structures/transactions-manager/history/history.types.mjs";
|
|
@@ -103,10 +103,10 @@ import { SnapshotFetcherService as Os } from "./data-structures/snapshot/Snapsho
|
|
|
103
103
|
import { EventsPublicApprovalsDB as Ds, eventsPublicApprovalsDB as ys } from "./data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs";
|
|
104
104
|
import { ErrorWithAmount as Ls } from "./error-handling/customErrors/ErrorWithAmount.mjs";
|
|
105
105
|
import { FeeOverTransactionValueError as Bs } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
|
|
106
|
-
import { getGenericFeeOverTransactionValueErrorMessage as Ms, rethrowKnownGasErrorIfPossible as
|
|
106
|
+
import { getGenericFeeOverTransactionValueErrorMessage as Ms, rethrowKnownGasErrorIfPossible as bs } from "./error-handling/customErrors/customErrors.helpers.mjs";
|
|
107
107
|
import { SimulationFailureError as Vs } from "./error-handling/customErrors/SimulationFailureError.mjs";
|
|
108
|
-
import { ErrorWithRelayerTransaction as
|
|
109
|
-
import { UserFriendlyErrorCodes as
|
|
108
|
+
import { ErrorWithRelayerTransaction as Gs } from "./error-handling/customErrors/ErrorWithTx.mjs";
|
|
109
|
+
import { UserFriendlyErrorCodes as Ws, gasErrorCodes as ws, insufficientResourcesErrorCodes as Ks, transactionErrorCodes as Xs, walletConnectErrorCodes as zs } from "./error-handling/error-codes.constants.mjs";
|
|
110
110
|
import { extractMessage as Zs, getErrorMessage as js, getErrorMessageFromSandboxRequest as Js } from "./error-handling/get-error.message.mjs";
|
|
111
111
|
import { checkErrorForSnapshotRestore as $s } from "./error-handling/handleErrorRestore.mjs";
|
|
112
112
|
import { logError as rn } from "./error-handling/logError.mjs";
|
|
@@ -116,7 +116,7 @@ import { BabABI as pn, ERC1155ABI as mn, ERC20ABI as cn, ERC721ABI as fn, GalxeA
|
|
|
116
116
|
import { checkHinkalAccessToken as dn, mintAccessToken as gn } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
|
|
117
117
|
import { openPassportWindow as In } from "./functions/kyc/passportHelper.mjs";
|
|
118
118
|
import { openDefaultPassportWindow as _n } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
119
|
-
import { absBigInt as Cn, beepsToPercentage as Nn, bigintApplySugar as On, bigintMax as hn, calculateAmountUsingBeeps as Dn, calculateBigIntSum as yn, calculateSum as kn, countTotalAmountInUtxos as Ln, fixDecimalsAmount as Un, getValueFirstNDigit as Bn, maxBigInt as vn, minBigInt as Mn, toBigInt as
|
|
119
|
+
import { absBigInt as Cn, beepsToPercentage as Nn, bigintApplySugar as On, bigintMax as hn, calculateAmountUsingBeeps as Dn, calculateBigIntSum as yn, calculateSum as kn, countTotalAmountInUtxos as Ln, fixDecimalsAmount as Un, getValueFirstNDigit as Bn, maxBigInt as vn, minBigInt as Mn, toBigInt as bn, toBigIntOrUndefined as Fn, toCommaSeparatedNumberString as Vn, toInt as Hn, toNumberOrUndefined as Gn, trimLeadingZeros as Yn, truncateToDecimalPlaces as Wn } from "./functions/utils/amounts.utils.mjs";
|
|
120
120
|
import { getFilePath as Kn, getHinkalCache as Xn, getInHinkalAddressesCache as zn, getInHinkalAddressesFilePath as qn, loadTxsCache as Zn, resetCache as jn, resetInHinkalAddressesCache as Jn, saveTxsCache as Qn, setHinkalCache as $n, setInHinkalAddressesCache as ep } from "./functions/utils/cacheFunctions.mjs";
|
|
121
121
|
import { createProvider as op, createTorRpcProvider as tp } from "./functions/utils/create-provider.mjs";
|
|
122
122
|
import { getExternalActionIdFromNumber as ip, getExternalActionIdHash as sp } from "./functions/utils/external-action.utils.mjs";
|
|
@@ -129,9 +129,9 @@ import { outputUtxoProcessing as Dp } from "./functions/pre-transaction/outputUt
|
|
|
129
129
|
import { processGasEstimates as kp } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
130
130
|
import { getFlatFees as Up } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
131
131
|
import { outputApprovalDataProcessing as vp, outputApprovalDataProcessingForHinkalApprove as Mp } from "./functions/pre-transaction/outputApprovalDataProcessing.mjs";
|
|
132
|
-
import { modifyVolatileTokenAmountChanges as
|
|
132
|
+
import { modifyVolatileTokenAmountChanges as Fp } from "./functions/pre-transaction/getVolatileTransferAmount.mjs";
|
|
133
133
|
import { constructAdminData as Hp } from "./functions/pre-transaction/constructAdminData.mjs";
|
|
134
|
-
import { getNetworkObject as
|
|
134
|
+
import { getNetworkObject as Yp, getNetworkType as Wp } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
135
135
|
import { browserSupported as Kp, walletSupported as Xp } from "./functions/utils/userAgent.mjs";
|
|
136
136
|
import { decodeTxInput as qp, deserializeDecodedTxs as Zp, serializeDecodedTxs as jp } from "./functions/utils/getDataFromTransaction.mjs";
|
|
137
137
|
import { reloadPage as Qp } from "./functions/utils/reloadPage.mjs";
|
|
@@ -142,9 +142,9 @@ import { formatDate as Tm, getCurrentDayStart as Em, getCurrentTimeInSeconds as
|
|
|
142
142
|
import { createCacheDevice as Dm } from "./functions/utils/cacheDevice.utils.mjs";
|
|
143
143
|
import { debounce as km, wait as Lm } from "./functions/utils/process.utils.mjs";
|
|
144
144
|
import { getBlockExplorerUrl as Bm } from "./functions/utils/getBlockExplorerUrl.mjs";
|
|
145
|
-
import { isPermit2Tx as Mm, uniswapWorkaround as
|
|
145
|
+
import { isPermit2Tx as Mm, uniswapWorkaround as bm } from "./functions/utils/involves-permit2-op.mjs";
|
|
146
146
|
import { checkChainOrAddressNotUpdated as Vm } from "./functions/utils/upToDateState.mjs";
|
|
147
|
-
import { CustomJSONParse as
|
|
147
|
+
import { CustomJSONParse as Gm, CustomJSONStringify as Ym } from "./functions/utils/serialize.utils.mjs";
|
|
148
148
|
import { isUseApprovalDataEmpty as wm, padUseApprovalUtxoData as Km } from "./functions/utils/processUseApprovalUtxoData.mjs";
|
|
149
149
|
import { convertEmporiumOpToCallInfo as zm } from "./functions/utils/convertEmporiumOpToCallInfo.mjs";
|
|
150
150
|
import { getExtendedRecipientInfoFromUserKeys as Zm, getRecipientInfoFromUserKeys as jm } from "./functions/utils/getRecipientInfoFromUserKeys.mjs";
|
|
@@ -162,9 +162,9 @@ import { encodeParsedInLogicMetadata as Oc } from "./functions/utils/inLogicMeta
|
|
|
162
162
|
import { getNetworkName as Dc } from "./functions/utils/networks.utils.mjs";
|
|
163
163
|
import { isValidUrl as kc } from "./functions/utils/is-valid-url.mjs";
|
|
164
164
|
import { getHinkalApprovals as Uc } from "./functions/utils/get-hinkal-approvals.mjs";
|
|
165
|
-
import { getAuctionTime as vc, getCurrentAuctionIntervalStartUTC as Mc, getLinearPrice as
|
|
165
|
+
import { getAuctionTime as vc, getCurrentAuctionIntervalStartUTC as Mc, getLinearPrice as bc, parseAuctionTime as Fc } from "./functions/utils/mystery-box-auction.utils.mjs";
|
|
166
166
|
import { postToOffscreen as Hc } from "./functions/utils/postToOffscreen.mjs";
|
|
167
|
-
import { getSignatureHeader as
|
|
167
|
+
import { getSignatureHeader as Yc } from "./functions/utils/get-signature-header.mjs";
|
|
168
168
|
import { calculateDollarValue as wc, ethToWei as Kc, getAmountInToken as Xc, getAmountInWei as zc, getAmountInWeiOrZero as qc, getAmountWithPrecision as Zc, getAmountWithPrecisionOrZero as jc, randomBigInt as Jc, toBigIntWithDecimals as Qc } from "./functions/web3/etherFunctions.mjs";
|
|
169
169
|
import { attemptGetInputUtxosRemotely as ef, getInputUtxoAndBalance as rf, getInputUtxoAndBalancePerToken as of, getInputUtxosRemotely as tf } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
170
170
|
import { addPaddingToUtxos as sf, getShieldedBalance as nf } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
@@ -179,8 +179,8 @@ import { getOneInchPrice as yf } from "./functions/web3/oneInchAPI.mjs";
|
|
|
179
179
|
import { getLifiPrice as Lf } from "./functions/web3/lifiAPI.mjs";
|
|
180
180
|
import { runContractFunction as Bf } from "./functions/web3/runContractFunction.mjs";
|
|
181
181
|
import { getTokenHolder as Mf } from "./functions/web3/getTokenHolder.mjs";
|
|
182
|
-
import { decodeMessage as
|
|
183
|
-
import { constructZkProof as
|
|
182
|
+
import { decodeMessage as Ff, getDecodedMessage as Vf, getPermitInfo as Hf } from "./functions/web3/EIP-712.mjs";
|
|
183
|
+
import { constructZkProof as Yf } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
184
184
|
import { constructEmporiumProof as wf } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
185
185
|
import { buildInNullifiers as Xf, buildOutCommitments as zf, calcAccessTokenSiblingsAndSides as qf, calcAmountChanges as Zf, calcCommitmentsSiblingAndSides as jf, calcEncryptedOutputs as Jf, calcPublicSignalCount as Qf, calcStealthAddressStructure as $f, createCallDataHash as el, deserializeCircomData as rl, getSlippageValues as ol, serializeCircomData as tl } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
186
186
|
import { generateZkProof as il } from "./functions/snarkjs/generateZkProof.mjs";
|
|
@@ -189,9 +189,9 @@ import { checkEOAWithDelegation as xl, createApproveEmporiumOp as Al, createTran
|
|
|
189
189
|
import { OpType as Nl, produceOp as Ol } from "./functions/private-wallet/opProducer.mjs";
|
|
190
190
|
import { createSwapToEmporiumOpForUniswap as Dl, createSwapToEmporiumOpFromData as yl, createSwapToEmporiumOps as kl, nullifyApprovalBeforeSwap as Ll } from "./functions/private-wallet/emporium.swap.helpers.mjs";
|
|
191
191
|
import { RevokeType as Bl } from "./types/approvals.types.mjs";
|
|
192
|
-
import { defaultHookData as Ml, defaultHookDataArray as
|
|
193
|
-
import { ContractType as
|
|
194
|
-
import { ExternalActionId as
|
|
192
|
+
import { defaultHookData as Ml, defaultHookDataArray as bl, defaultStealthAddressStructure as Fl, emptyStealthAddressStructure as Vl } from "./types/circom-data.types.mjs";
|
|
193
|
+
import { ContractType as Gl } from "./types/ethereum-network.types.mjs";
|
|
194
|
+
import { ExternalActionId as Wl } from "./types/external-action.types.mjs";
|
|
195
195
|
import { EventType as Kl, HinkalLogicAction as Xl, HinkalStakeAction as zl, INTERACTION as ql, IntegrationProvider as Zl, UserProgress as jl, defaultFeeStructure as Jl, defaultHinkalLogicArgs as Ql, defaultUseApprovalUTXOData as $l } from "./types/hinkal.types.mjs";
|
|
196
196
|
import { KycVerificationResult as rx, KycVerificationStatus as ox, Passports as tx, VERIFICATION_TYPE as ax, VerificationTypes as ix } from "./types/kyc.types.mjs";
|
|
197
197
|
import { ApprovalType as nx } from "./types/token.types.mjs";
|
|
@@ -205,8 +205,8 @@ import { SandboxRequestType as hx } from "./types/sandbox.types.mjs";
|
|
|
205
205
|
import { PrivateBalanceUpdateType as yx } from "./types/balances.types.mjs";
|
|
206
206
|
import { StorageKeys as Lx } from "./types/cache.types.mjs";
|
|
207
207
|
import { TOKEN_PRICE_STATUS as Bx } from "./types/token-prices.types.mjs";
|
|
208
|
-
import { AchievementTiers as Mx, BrotherhoodTaskTypes as
|
|
209
|
-
import { MemberStatus as
|
|
208
|
+
import { AchievementTiers as Mx, BrotherhoodTaskTypes as bx, TaskCategory as Fx, TaskTypes as Vx } from "./types/new-rewards.type.mjs";
|
|
209
|
+
import { MemberStatus as Gx, Rank as Yx } from "./types/RewardUserEnums.mjs";
|
|
210
210
|
import { PointsType as wx, TradingType as Kx } from "./types/generatePoints.mjs";
|
|
211
211
|
import { GetCallsStatusCode as zx } from "./types/eip5792.types.mjs";
|
|
212
212
|
import { MysteryBoxItemFrequency as Zx, MysteryBoxItemRewardType as jx, MysteryBoxRewardStatus as Jx } from "./types/mystery-boxes.types.mjs";
|
|
@@ -215,23 +215,19 @@ import { HttpMethod as rA } from "./types/routing.types.mjs";
|
|
|
215
215
|
import { ConfirmationRequestType as tA } from "./types/confirmation-request.types.mjs";
|
|
216
216
|
import { MessagesFromOffscreen as iA } from "./types/offscreen.types.mjs";
|
|
217
217
|
import { resetStateMutex as nA } from "./mutexes/mutex.mjs";
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import { abi as
|
|
225
|
-
import { abi as
|
|
226
|
-
import { abi as
|
|
227
|
-
import { abi as
|
|
228
|
-
import { abi as
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import { abi as FA } from "./externalABIs/BUSD.mjs";
|
|
232
|
-
import { abi as VA } from "./externalABIs/SanctionsList.mjs";
|
|
233
|
-
import { default as WA } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
234
|
-
import { default as YA } from "./externalABIs/NodeInterfaceABI.json.mjs";
|
|
218
|
+
import { getERC20Registry as mA, getFixedRegistry as cA } from "./constants/token-data/ERC20Registry.mjs";
|
|
219
|
+
import { PopularTokenSymbols as lA } from "./constants/token-data/popularTokens.constants.mjs";
|
|
220
|
+
import { abi as AA } from "./externalABIs/amToken.mjs";
|
|
221
|
+
import { abi as TA } from "./externalABIs/USDC.mjs";
|
|
222
|
+
import { abi as dA } from "./externalABIs/DAI.mjs";
|
|
223
|
+
import { abi as RA } from "./externalABIs/USDR.mjs";
|
|
224
|
+
import { abi as uA } from "./externalABIs/USDR3CRV.mjs";
|
|
225
|
+
import { abi as PA } from "./externalABIs/USDT.mjs";
|
|
226
|
+
import { abi as NA } from "./externalABIs/WETH.mjs";
|
|
227
|
+
import { abi as hA } from "./externalABIs/BUSD.mjs";
|
|
228
|
+
import { abi as yA } from "./externalABIs/SanctionsList.mjs";
|
|
229
|
+
import { default as LA } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
230
|
+
import { default as BA } from "./externalABIs/NodeInterfaceABI.json.mjs";
|
|
235
231
|
export {
|
|
236
232
|
tt as ACCESS_TOKEN_MINTING_POINTS,
|
|
237
233
|
at as ACCESS_TOKEN_RECLAIM_POINTS,
|
|
@@ -248,14 +244,14 @@ export {
|
|
|
248
244
|
hi as AbstractAccessTokenSnapshotService,
|
|
249
245
|
Li as AbstractApprovalsSnapshotService,
|
|
250
246
|
yi as AbstractCommitmentsSnapshotService,
|
|
251
|
-
|
|
247
|
+
Fi as AbstractEventService,
|
|
252
248
|
Bi as AbstractNullifierSnapshotService,
|
|
253
249
|
Mi as AbstractSnapshotService,
|
|
254
250
|
Mx as AchievementTiers,
|
|
255
251
|
ux as ActivityStatus,
|
|
256
252
|
_x as ActivityTypes,
|
|
257
253
|
Rx as AdminTransactionType,
|
|
258
|
-
|
|
254
|
+
AA as AmTokenABI,
|
|
259
255
|
nx as ApprovalType,
|
|
260
256
|
us as ArcPublicTokensDB,
|
|
261
257
|
xo as AssetChangeType,
|
|
@@ -263,28 +259,28 @@ export {
|
|
|
263
259
|
oa as BOX_DAILY_CLAIM_LIMIT,
|
|
264
260
|
ta as BOX_ENDING_PRICES,
|
|
265
261
|
aa as BOX_STARTING_PRICES,
|
|
266
|
-
|
|
262
|
+
Wt as BRIDGING_URLS,
|
|
267
263
|
ia as BRONZE_MYSTERY_BOX_ITEMS,
|
|
268
264
|
Ta as BROTHERHOOD_TASKS,
|
|
269
|
-
|
|
265
|
+
hA as BUSDABI,
|
|
270
266
|
pn as BabABI,
|
|
271
267
|
Hi as BlockchainEventEmitter,
|
|
272
|
-
|
|
268
|
+
bx as BrotherhoodTaskTypes,
|
|
273
269
|
it as CERTIFICATION_DISABLE_WEEK,
|
|
274
270
|
Ao as CIRCOM_MERKLE_LENGTH,
|
|
275
271
|
So as CIRCOM_P,
|
|
276
272
|
To as CIRCOM_P_HALF,
|
|
277
|
-
|
|
278
|
-
|
|
273
|
+
Go as COINGECKO_API_KEY,
|
|
274
|
+
Yo as CoinGeckoChainLabels,
|
|
279
275
|
tA as ConfirmationRequestType,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
276
|
+
Gl as ContractType,
|
|
277
|
+
Gm as CustomJSONParse,
|
|
278
|
+
Ym as CustomJSONStringify,
|
|
283
279
|
Ea as DAILY_TASKS,
|
|
284
280
|
vr as DATA_SERVER_CONFIG,
|
|
285
281
|
o as DATA_SERVER_URL,
|
|
286
282
|
Mr as DATA_SERVER_URL_ENDPOINT,
|
|
287
|
-
|
|
283
|
+
br as DATA_SERVER_URL_LOCAL,
|
|
288
284
|
eo as DEPLOYMENT_MODE,
|
|
289
285
|
Px as DexProviders,
|
|
290
286
|
Eo as EIP1271_FAILURE,
|
|
@@ -296,11 +292,11 @@ export {
|
|
|
296
292
|
Ja as EncryptionKeyPairDefaultValue,
|
|
297
293
|
tn as ErrorCategory,
|
|
298
294
|
Ls as ErrorWithAmount,
|
|
299
|
-
|
|
295
|
+
Gs as ErrorWithRelayerTransaction,
|
|
300
296
|
tr as EthereumNetworkType,
|
|
301
297
|
Kl as EventType,
|
|
302
298
|
Ds as EventsPublicApprovalsDB,
|
|
303
|
-
|
|
299
|
+
Wl as ExternalActionId,
|
|
304
300
|
Bs as FeeOverTransactionValueError,
|
|
305
301
|
Qi as FileCacheDevice,
|
|
306
302
|
sa as GOLD_MYSTERY_BOX_ITEMS,
|
|
@@ -322,15 +318,15 @@ export {
|
|
|
322
318
|
rx as KycVerificationResult,
|
|
323
319
|
ox as KycVerificationStatus,
|
|
324
320
|
Jt as LIFISCAN_URL,
|
|
325
|
-
|
|
321
|
+
W as LifiStatus,
|
|
326
322
|
es as LocalStorageCacheDevice,
|
|
327
323
|
sn as Logger,
|
|
328
|
-
|
|
324
|
+
Gt as MAX_DISPLAY_DECIMALS,
|
|
329
325
|
uo as MERKLE_LEVELS,
|
|
330
326
|
na as MYSTERY_BOX_ITEMS,
|
|
331
327
|
pa as MYSTERY_BOX_ITEM_BY_ID,
|
|
332
328
|
ma as MYSTERY_BOX_ITEM_BY_RANK,
|
|
333
|
-
|
|
329
|
+
Gx as MemberStatus,
|
|
334
330
|
$x as MerchOrderStatus,
|
|
335
331
|
ui as MerkleTree,
|
|
336
332
|
Ni as MerkleTreeIncompleteError,
|
|
@@ -348,22 +344,22 @@ export {
|
|
|
348
344
|
Oa as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE,
|
|
349
345
|
Co as NFT_TRANSACTION_TYPES,
|
|
350
346
|
Ar as NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS,
|
|
351
|
-
|
|
347
|
+
BA as NodeInterfaceABI,
|
|
352
348
|
Sx as OldPointType,
|
|
353
349
|
Nl as OpType,
|
|
354
350
|
ha as PERMIT2_APPROVE_FUNCTION_SIGNATURE,
|
|
355
|
-
|
|
351
|
+
Fr as PLAYGROUND_RELAYER_URLS,
|
|
356
352
|
Vr as PLAYGROUND_SERVER_URLS,
|
|
357
353
|
Hr as PLAYGROUND_SNAPSHOT_SERVER_URLS,
|
|
358
|
-
|
|
354
|
+
Gr as PLAYGROUND_URL,
|
|
359
355
|
da as POINTS_BOOST_TASKS,
|
|
360
|
-
|
|
361
|
-
|
|
356
|
+
Yr as PRODUCTION_RELAYER_URLS,
|
|
357
|
+
Wr as PRODUCTION_SERVER_URLS,
|
|
362
358
|
wr as PRODUCTION_SNAPSHOT_SERVER_URLS,
|
|
363
359
|
Kr as PRODUCTION_URL,
|
|
364
360
|
tx as Passports,
|
|
365
361
|
wx as PointsType,
|
|
366
|
-
|
|
362
|
+
lA as PopularTokenSymbols,
|
|
367
363
|
Cs as PresaleContractWrapper,
|
|
368
364
|
yx as PrivateBalanceUpdateType,
|
|
369
365
|
As as PrivateTokensDB,
|
|
@@ -380,7 +376,7 @@ export {
|
|
|
380
376
|
Ra as REWARDS_TASKS,
|
|
381
377
|
pt as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
382
378
|
Tx as RafflePrizeType,
|
|
383
|
-
|
|
379
|
+
Yx as Rank,
|
|
384
380
|
Or as ReclaimPassports,
|
|
385
381
|
Bl as RevokeType,
|
|
386
382
|
fa as SILVER_MYSTERY_BOX_ITEMS,
|
|
@@ -397,12 +393,12 @@ export {
|
|
|
397
393
|
hr as StandardPassports,
|
|
398
394
|
Lx as StorageKeys,
|
|
399
395
|
Dr as SupportedPassports,
|
|
400
|
-
|
|
396
|
+
Ft as TOKEN_LIMITS,
|
|
401
397
|
Bx as TOKEN_PRICE_STATUS,
|
|
402
398
|
yo as TOKEN_VALUE_UNLIMITED_THRESHOLD,
|
|
403
399
|
Da as TRANSFER_FUNCTION_SIGNATURE,
|
|
404
400
|
xa as TVL_CHANGER_ACTIVITY_TYPES,
|
|
405
|
-
|
|
401
|
+
Fx as TaskCategory,
|
|
406
402
|
Vx as TaskTypes,
|
|
407
403
|
Nx as TokenChangeType,
|
|
408
404
|
Xi as TokenChecker,
|
|
@@ -413,14 +409,14 @@ export {
|
|
|
413
409
|
qi as TransactionType,
|
|
414
410
|
Kt as UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES,
|
|
415
411
|
Xt as UNSUPPORTED_WALLET_IDS,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
412
|
+
TA as USDCABI,
|
|
413
|
+
uA as USDR3CRVABI,
|
|
414
|
+
RA as USDRABI,
|
|
415
|
+
PA as USDTABI,
|
|
416
|
+
Ws as UserFriendlyErrorCodes,
|
|
421
417
|
Qa as UserKeys,
|
|
422
418
|
jl as UserProgress,
|
|
423
|
-
|
|
419
|
+
Yi as Utxo,
|
|
424
420
|
Jr as VERIFICATION_ROUTES,
|
|
425
421
|
ax as VERIFICATION_TYPE,
|
|
426
422
|
Ha as ValueCache,
|
|
@@ -430,17 +426,13 @@ export {
|
|
|
430
426
|
ir as WALLET_SUPPORTED_CHAINS,
|
|
431
427
|
Qr as WALLET_TASK_VERIFICATION_TYPES,
|
|
432
428
|
Ia as WELCOME_TASKS,
|
|
433
|
-
|
|
429
|
+
NA as WETHABI,
|
|
434
430
|
Ut as WETH_ERC20_TOKEN_ADDRESS,
|
|
435
431
|
Bt as WRAPPER_TOKEN_EXCHANGE_ADDRESSES,
|
|
436
|
-
|
|
437
|
-
AA as WorkerProxy,
|
|
438
|
-
fA as WorkerVariant,
|
|
439
|
-
Ga as abiDecodeUtxo,
|
|
432
|
+
Ya as abiDecodeUtxo,
|
|
440
433
|
Cn as absBigInt,
|
|
441
434
|
os as activityStorage,
|
|
442
435
|
sf as addPaddingToUtxos,
|
|
443
|
-
TA as addWorkerErrorHandler,
|
|
444
436
|
pp as aggregateTokenChanges,
|
|
445
437
|
yr as aipriseBaseOnboardingProductionUrl,
|
|
446
438
|
kr as aipriseBaseOnboardingSandboxUrl,
|
|
@@ -467,7 +459,7 @@ export {
|
|
|
467
459
|
On as bigintApplySugar,
|
|
468
460
|
hn as bigintMax,
|
|
469
461
|
Tt as blockReorgDepth,
|
|
470
|
-
|
|
462
|
+
be as bnbMainnetData,
|
|
471
463
|
Oe as bnbMainnetRegistry,
|
|
472
464
|
he as bnbMainnetRegistryFixed,
|
|
473
465
|
mt as boostAmounts,
|
|
@@ -485,7 +477,7 @@ export {
|
|
|
485
477
|
wc as calculateDollarValue,
|
|
486
478
|
nl as calculateStakeNullifier,
|
|
487
479
|
kn as calculateSum,
|
|
488
|
-
|
|
480
|
+
G as callLifiAPI,
|
|
489
481
|
l as callOneInchAPI,
|
|
490
482
|
A as callRelayerTransactAPI,
|
|
491
483
|
em as capitalizeFirstLetter,
|
|
@@ -499,15 +491,15 @@ export {
|
|
|
499
491
|
dn as checkHinkalAccessToken,
|
|
500
492
|
u as checkRisk,
|
|
501
493
|
ic as checkTokensForShielding,
|
|
502
|
-
|
|
494
|
+
Wa as checkUtxoSignature,
|
|
503
495
|
me as claimMerchItem,
|
|
504
|
-
|
|
496
|
+
Wo as coingeckoPriceUrl,
|
|
505
497
|
wo as coingeckoPriceUrl2,
|
|
506
498
|
Ko as coingeckoTokenListUrl,
|
|
507
499
|
Hp as constructAdminData,
|
|
508
500
|
wf as constructEmporiumProof,
|
|
509
501
|
mc as constructStealthAddressStructure,
|
|
510
|
-
|
|
502
|
+
Yf as constructZkProof,
|
|
511
503
|
cs as contactStorage,
|
|
512
504
|
Er as contractMetadataMapping,
|
|
513
505
|
zm as convertEmporiumOpToCallInfo,
|
|
@@ -528,9 +520,9 @@ export {
|
|
|
528
520
|
Sl as createTransaferEmporiumOpsBatch,
|
|
529
521
|
Tl as createTransferToEmporiumOp,
|
|
530
522
|
wi as customTokenRegistry,
|
|
531
|
-
|
|
523
|
+
dA as daiABI,
|
|
532
524
|
km as debounce,
|
|
533
|
-
|
|
525
|
+
Ff as decodeMessage,
|
|
534
526
|
qp as decodeTxInput,
|
|
535
527
|
wa as decodeUtxo,
|
|
536
528
|
Ka as decodeUtxoConstructorArgs,
|
|
@@ -541,9 +533,9 @@ export {
|
|
|
541
533
|
Sr as defaultFeeToken,
|
|
542
534
|
Ql as defaultHinkalLogicArgs,
|
|
543
535
|
Ml as defaultHookData,
|
|
544
|
-
|
|
536
|
+
bl as defaultHookDataArray,
|
|
545
537
|
Lo as defaultSignatureData,
|
|
546
|
-
|
|
538
|
+
Fl as defaultStealthAddressStructure,
|
|
547
539
|
$l as defaultUseApprovalUTXOData,
|
|
548
540
|
ro as deploymentMode,
|
|
549
541
|
rl as deserializeCircomData,
|
|
@@ -557,7 +549,7 @@ export {
|
|
|
557
549
|
Oc as encodeParsedInLogicMetadata,
|
|
558
550
|
fl as encryptStake,
|
|
559
551
|
Za as encryptUtxo,
|
|
560
|
-
|
|
552
|
+
Ge as ethMainnetData,
|
|
561
553
|
De as ethMainnetRegistry,
|
|
562
554
|
ye as ethMainnetRegistryFixed,
|
|
563
555
|
Kc as ethToWei,
|
|
@@ -609,7 +601,7 @@ export {
|
|
|
609
601
|
t as getDataServerURL,
|
|
610
602
|
Vf as getDecodedMessage,
|
|
611
603
|
mf as getDepositEvents,
|
|
612
|
-
|
|
604
|
+
mA as getERC20Registry,
|
|
613
605
|
cp as getERC20Token,
|
|
614
606
|
fp as getERC20TokenBySymbol,
|
|
615
607
|
Rm as getEffectiveMonthStart,
|
|
@@ -622,7 +614,7 @@ export {
|
|
|
622
614
|
ip as getExternalActionIdFromNumber,
|
|
623
615
|
sp as getExternalActionIdHash,
|
|
624
616
|
Kn as getFilePath,
|
|
625
|
-
|
|
617
|
+
cA as getFixedRegistry,
|
|
626
618
|
Up as getFlatFees,
|
|
627
619
|
T as getGasEstimates,
|
|
628
620
|
rt as getGasStationUrl,
|
|
@@ -641,7 +633,7 @@ export {
|
|
|
641
633
|
Op as getInteractionFromAction,
|
|
642
634
|
Lf as getLifiPrice,
|
|
643
635
|
w as getLifiStatus,
|
|
644
|
-
|
|
636
|
+
bc as getLinearPrice,
|
|
645
637
|
xe as getMerchOrders,
|
|
646
638
|
gf as getMyApprovalAmountForInteraction,
|
|
647
639
|
Ae as getMysteryBoxesHistory,
|
|
@@ -649,8 +641,8 @@ export {
|
|
|
649
641
|
Ec as getNecessaryAssetsForFunding,
|
|
650
642
|
dc as getNecessaryAssetsForFundingFromBalance,
|
|
651
643
|
Dc as getNetworkName,
|
|
652
|
-
|
|
653
|
-
|
|
644
|
+
Yp as getNetworkObject,
|
|
645
|
+
Wp as getNetworkType,
|
|
654
646
|
_m as getNextDayDelay,
|
|
655
647
|
Pm as getNextDayISO,
|
|
656
648
|
pr as getNonLocalhostChainId,
|
|
@@ -672,7 +664,7 @@ export {
|
|
|
672
664
|
a as getServerURL,
|
|
673
665
|
Se as getServerUtc,
|
|
674
666
|
nf as getShieldedBalance,
|
|
675
|
-
|
|
667
|
+
Yc as getSignatureHeader,
|
|
676
668
|
ol as getSlippageValues,
|
|
677
669
|
i as getSnapshotServerURL,
|
|
678
670
|
tm as getStateKey,
|
|
@@ -738,7 +730,7 @@ export {
|
|
|
738
730
|
gn as mintAccessToken,
|
|
739
731
|
ul as modifyDataForProxy,
|
|
740
732
|
_l as modifyDataForProxyWithPrivateKey,
|
|
741
|
-
|
|
733
|
+
Fp as modifyVolatileTokenAmountChanges,
|
|
742
734
|
Nm as msToISOString,
|
|
743
735
|
lr as networkRegistry,
|
|
744
736
|
Ll as nullifyApprovalBeforeSwap,
|
|
@@ -747,8 +739,8 @@ export {
|
|
|
747
739
|
_n as openDefaultPassportWindow,
|
|
748
740
|
Te as openMysteryBox,
|
|
749
741
|
In as openPassportWindow,
|
|
750
|
-
|
|
751
|
-
|
|
742
|
+
We as optimismData,
|
|
743
|
+
LA as optimismGasPriceOracleAbi,
|
|
752
744
|
Le as optimismRegistry,
|
|
753
745
|
Ue as optimismRegistryFixed,
|
|
754
746
|
vp as outputApprovalDataProcessing,
|
|
@@ -757,10 +749,10 @@ export {
|
|
|
757
749
|
Mo as ownerPublicKey,
|
|
758
750
|
Km as padUseApprovalUtxoData,
|
|
759
751
|
It as pancaceSwapPermit2Address,
|
|
760
|
-
|
|
752
|
+
Fc as parseAuctionTime,
|
|
761
753
|
ut as permit2Address,
|
|
762
754
|
_t as permit2Addresses,
|
|
763
|
-
|
|
755
|
+
bo as permitSignatureValidFor,
|
|
764
756
|
lt as pointsLink,
|
|
765
757
|
Ke as polygonData,
|
|
766
758
|
Be as polygonRegistry,
|
|
@@ -769,7 +761,7 @@ export {
|
|
|
769
761
|
La as poseidonHash,
|
|
770
762
|
Ua as poseidonHolder,
|
|
771
763
|
Hc as postToOffscreen,
|
|
772
|
-
|
|
764
|
+
Fa as preProcessing,
|
|
773
765
|
qt as presaleABI,
|
|
774
766
|
Zt as presaleContractInfoByChain,
|
|
775
767
|
ps as pricesStorage,
|
|
@@ -795,14 +787,14 @@ export {
|
|
|
795
787
|
di as resetMerkleTrees,
|
|
796
788
|
nA as resetStateMutex,
|
|
797
789
|
_p as resolveSync,
|
|
798
|
-
|
|
790
|
+
bs as rethrowKnownGasErrorIfPossible,
|
|
799
791
|
cf as retrieveEvents,
|
|
800
792
|
U as rpcGetStorageChanges,
|
|
801
793
|
tc as rpcIntEncode,
|
|
802
794
|
B as rpcSimulateBundle,
|
|
803
795
|
v as rpcSimulateTransaction,
|
|
804
796
|
Bf as runContractFunction,
|
|
805
|
-
|
|
797
|
+
yA as sanctionsListABI,
|
|
806
798
|
Qn as saveTxsCache,
|
|
807
799
|
Qo as searchBySymbol,
|
|
808
800
|
Tp as searchCompareFunction,
|
|
@@ -811,28 +803,28 @@ export {
|
|
|
811
803
|
jp as serializeDecodedTxs,
|
|
812
804
|
$n as setHinkalCache,
|
|
813
805
|
ep as setInHinkalAddressesCache,
|
|
814
|
-
|
|
806
|
+
Fo as signaturePhrase,
|
|
815
807
|
ls as signedMessagesStorage,
|
|
816
808
|
M as simulateTx,
|
|
817
809
|
Ep as sortTokens,
|
|
818
810
|
$a as stealthAddressCacheDevice,
|
|
819
811
|
ei as stealthPairCacheDevice,
|
|
820
812
|
Lr as supportedPassportLinks,
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
813
|
+
b as tenderlyRpcLinks,
|
|
814
|
+
bn as toBigInt,
|
|
815
|
+
Fn as toBigIntOrUndefined,
|
|
824
816
|
Qc as toBigIntWithDecimals,
|
|
825
817
|
Vn as toCommaSeparatedNumberString,
|
|
826
818
|
Hn as toInt,
|
|
827
|
-
|
|
819
|
+
Gn as toNumberOrUndefined,
|
|
828
820
|
nm as toTitleCase,
|
|
829
821
|
Rs as tokenVisibilityStorage,
|
|
830
822
|
V as tokensInfoCall,
|
|
831
823
|
Xs as transactionErrorCodes,
|
|
832
824
|
Tn as transactionProverABI,
|
|
833
825
|
Ac as trimFieldValues,
|
|
834
|
-
|
|
835
|
-
|
|
826
|
+
Yn as trimLeadingZeros,
|
|
827
|
+
Wn as truncateToDecimalPlaces,
|
|
836
828
|
Pt as uniswap2Manager,
|
|
837
829
|
Ct as uniswap3Manager,
|
|
838
830
|
Nt as uniswapApprovalExtraCallData,
|
|
@@ -840,13 +832,12 @@ export {
|
|
|
840
832
|
Rr as uniswapV3FactoryData,
|
|
841
833
|
Ir as uniswapV3PoolData,
|
|
842
834
|
ur as uniswapV3QuoterData,
|
|
843
|
-
|
|
835
|
+
bm as uniswapWorkaround,
|
|
844
836
|
Ot as uniswapWorkaroundAddresses,
|
|
845
837
|
pm as validateEmail,
|
|
846
838
|
Lm as wait,
|
|
847
839
|
Om as waitLittle,
|
|
848
840
|
zs as walletConnectErrorCodes,
|
|
849
841
|
Xp as walletSupported,
|
|
850
|
-
lA as workerNodeURL,
|
|
851
842
|
Vo as zeroAddress
|
|
852
843
|
};
|