@argent/x-shared 1.48.2 → 1.49.0
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/dist/index.cjs +1 -1
- package/dist/index.js +457 -455
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/_shortw_utils.js +3 -3
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.js +5 -5
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.js +2 -2
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.js +2 -2
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_md.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_md.js +64 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.js +115 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js +2 -2
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.cjs +1 -1
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js +12 -10
- package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.js +55 -58
- package/dist/src/accountNameGenerator/colors.cjs +1 -0
- package/dist/src/accountNameGenerator/colors.d.ts +2 -0
- package/dist/src/accountNameGenerator/colors.js +25 -0
- package/dist/src/accountNameGenerator/index.cjs +1 -0
- package/dist/src/accountNameGenerator/index.d.ts +9 -0
- package/dist/src/accountNameGenerator/index.js +24 -0
- package/dist/src/accountNameGenerator/types.d.ts +18 -0
- package/dist/src/accountNameGenerator/x-names.json.cjs +1 -0
- package/dist/src/accountNameGenerator/x-names.json.js +1926 -0
- package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.js +1 -1
- package/dist/src/features/simulation/activity/schema.js +3 -3
- package/dist/src/features/simulation/activity/utils/createNativeActivity.js +3 -3
- package/dist/src/features/simulation/transactionReview/schema.js +4 -4
- package/dist/src/features/swap/models/trade.model.js +3 -3
- package/dist/src/index.d.ts +1 -0
- package/dist/src/nfts/BackendNftService.cjs +1 -1
- package/dist/src/nfts/BackendNftService.js +3 -3
- package/dist/src/tokens/service/types/backend.model.js +1 -1
- package/dist/src/transactions/estimate/utils.js +1 -1
- package/dist/src/transactions/transactionVersion.js +1 -1
- package/dist/src/transactions/txv3.cjs +1 -1
- package/dist/src/transactions/txv3.js +4 -4
- package/dist/src/utils/number/prettifyNumber.cjs +1 -1
- package/dist/src/utils/number/prettifyNumber.js +27 -22
- package/package.json +25 -25
package/dist/index.js
CHANGED
|
@@ -1,461 +1,463 @@
|
|
|
1
1
|
import * as e from "./src/bigdecimal/index.js";
|
|
2
2
|
import { BaseError as t } from "./src/errors/baseErrors.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
3
|
+
import { AccountNameGenerator as n } from "./src/accountNameGenerator/index.js";
|
|
4
|
+
import { AddSmartAccountResponseSchema as i, AddSmartAcountRequestSchema as s, BackendAccountSchema as c } from "./src/account/account.model.js";
|
|
5
|
+
import { isAccountV4 as d, isAccountV5 as p, isAccountV6 as l } from "./src/account/accountv4.js";
|
|
6
|
+
import { preferencesEndpointPayload as f, preferencesSchema as u } from "./src/account/preferences.model.js";
|
|
7
|
+
import { argentBackendNetworkIdSchema as x, argentNetworkIdSchema as g, isArgentBackendNetworkId as T, isArgentNetworkId as k } from "./src/backend/schema.js";
|
|
8
|
+
import { backendSessionAllowedMethodSchema as y, backendSessionMetadataSchema as D, backendSessionSchema as E, backendSessionTxFeeSchema as R } from "./src/backend/sessionKeys/schema.js";
|
|
9
|
+
import { CacheService as P } from "./src/cache/CacheService.js";
|
|
10
|
+
import { addressOrEmptyUndefinedSchema as b, addressSchema as F, addressSchemaArgentBackend as I, addressSchemaBase as B, addressSchemaLooseLength as w, addressSchemaStrictLength as _, formatFullAddress as H, formatTruncatedAddress as L, formatTruncatedSignerKey as O, formatTruncatedString as V, includesAddress as M, isAddress as W, isEqualAddress as U, isValidAddress as q, isZeroAddress as G, normalizeAddress as z, validChecksumAddressSchema as K, validateAddressRangeSchema as j } from "./src/chains/starknet/address.js";
|
|
11
|
+
import { addressOrDomainInputSchema as Y, addressOrDomainSchema as Z, isEqualStarknetDomainName as Q, isStarknetDomainName as J, normalizeAddressOrDomain as $, starknetDomainNameSchema as ee } from "./src/chains/starknet/addressDomain.js";
|
|
12
|
+
import { addressInputCharactersAndLengthSchema as re, addressInputSchema as te } from "./src/chains/starknet/addressInput.js";
|
|
13
|
+
import { argentNameSchema as ne, isArgentName as me, isEqualArgentName as ie, normalizeArgentName as se } from "./src/chains/starknet/argentName.js";
|
|
14
|
+
import { cairoVersionSchema as Se } from "./src/chains/starknet/cairoVersionSchema.js";
|
|
15
|
+
import { ETH_TOKEN_ADDRESS as pe, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as le, STRK_TOKEN_ADDRESS as he, TXV1_ACCOUNT_CLASS_HASH as fe, TXV1_MULTISIG_CLASS_HASH as ue, TXV3_ACCOUNT_CLASS_HASH as Ae, TXV3_MULTISIG_CLASS_HASH as xe } from "./src/chains/starknet/constants.js";
|
|
16
|
+
import { apiWalletResponseSchema as Te, getAddressFromArgentName as ke } from "./src/chains/starknet/getAddressFromArgentName.js";
|
|
17
|
+
import { getAddressFromStarkName as ye, getCallFromStarkName as De, getStarknetIdContractAddressFromNetworkId as Ee, starkNameToCallDataDomain as Re } from "./src/chains/starknet/getAddressFromStarkName.js";
|
|
18
|
+
import { getChainIdFromNetworkId as Pe } from "./src/chains/starknet/network.js";
|
|
19
|
+
import { StarknetAddressService as be } from "./src/chains/starknet/services/address/StarknetAddressService.js";
|
|
20
|
+
import { ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES as Ie, ARGENT_MULTISIG_CONTRACT_CLASS_HASHES as Be, C0_PROXY_CONTRACT_CLASS_HASHES as we } from "./src/chains/starknet/services/deploymentData/constants.js";
|
|
21
|
+
import { constructorCallDataSchemaC0 as He, constructorCallDataSchemaC1V1 as Le, implementationSchema as Oe } from "./src/chains/starknet/services/deploymentData/deploymentData.schema.js";
|
|
22
|
+
import { buildConstructorCalldata as Me, findImplementationForAccount as We, getAccountContractAddress as Ue, getAccountDeploymentPayload as qe, isEqualImplementation as Ge } from "./src/chains/starknet/services/deploymentData/findImplementationForAccount.js";
|
|
23
|
+
import { getArgentAccountClassHashes as Ke, getArgentAccountClassHashesWithTxV3Support as je, getArgentAccountWithMultiSignerClassHashes as Xe, getLastCairo0ArgentAccountClassHash as Ye, getLatestArgentAccountClassHash as Ze, getLatestArgentMultisigClassHash as Qe, getLatestLedgerAccountClassHash as Je, getLedgerAccountClassHashes as $e } from "./src/chains/starknet/services/deploymentData/getAccountClassHash.js";
|
|
24
|
+
import { isEqualStarknetId as aa, isStarknetId as ra, normalizeStarknetId as ta, starknetIdSchema as oa } from "./src/chains/starknet/starknetId.js";
|
|
25
|
+
import { DateService as ma } from "./src/http/DateService.js";
|
|
26
|
+
import { HttpError as sa } from "./src/http/HttpError.js";
|
|
27
|
+
import { HTTPService as Sa } from "./src/http/HttpService.js";
|
|
28
|
+
import { HTTP_ERROR_MESSAGE as pa } from "./src/http/IHttpService.js";
|
|
29
|
+
import { SWRService as ha } from "./src/http/SWRService.js";
|
|
30
|
+
import { fetchData as ua, fetcherError as Aa, postData as xa } from "./src/http/fetcher.js";
|
|
31
|
+
import { getBackendTimeNowSeconds as Ta, getBackendTimeSeconds as ka } from "./src/http/time.js";
|
|
32
|
+
import { KnownDappsBackendService as ya } from "./src/knownDapps/KnownDappsBackendService.js";
|
|
33
|
+
import { dappContractSchema as Ea, dappLinkSchema as Ra, knownDappSchema as va, knownDappsSchema as Pa } from "./src/knownDapps/schema.js";
|
|
34
|
+
import { getDapplandLinkForDapp as ba, getDapplandUrlForDapp as Fa } from "./src/knownDapps/utils/getDapplandUrl.js";
|
|
35
|
+
import { ResolveNameService as Ba } from "./src/nameResolution/ResolveNameService.js";
|
|
36
|
+
import { nameProviderResolutionSchema as _a, nameResolutionAddressSchema as Ha, nameResolutionAddressesSchema as La, nameResolutionStarknetIdSchema as Oa, nameResolutionStarknetIdsSchema as Va, providersNamesSchema as Ma } from "./src/nameResolution/schema.js";
|
|
37
|
+
import { BackendNftService as Ua } from "./src/nfts/BackendNftService.js";
|
|
38
|
+
import { equalNft as Ga, getNftPicture as za } from "./src/nfts/utils.js";
|
|
39
|
+
import { OnchainRecoveryService as ja } from "./src/onchainRecovery/OnchainRecoveryService.js";
|
|
40
|
+
import { RecoveryStatusEnum as Ya, StartOnchainRecoveryErrorStatusEnum as Za, activeOnchainRecoverySchema as Qa, onchainRecoverySchema as Ja, recoveryBaseSchema as $a, recoveryBodySchema as er, recoveryStatusSchema as ar, startOnchainRecoveryErrorSchema as rr, startOnchainRecoveryErrorStatusSchema as tr, startOnchainRecoverySchema as or } from "./src/onchainRecovery/schema.js";
|
|
41
|
+
import { isBraveBrowser as mr } from "./src/platform/isBraveBrowser.js";
|
|
42
|
+
import { getUAParserResult as sr, isBrowser as cr, isChromeBrowser as Sr, isEdgeBrowser as dr, isFirefoxBrowser as pr, isSafariBrowser as lr } from "./src/platform/isBrowser.js";
|
|
43
|
+
import { seedphraseSchema as fr } from "./src/signer/seedphrase.js";
|
|
44
|
+
import { MultiSigner as Ar, getSignerForMultiSigner as xr } from "./src/signer/multisigner.js";
|
|
45
|
+
import { mergeOwnerGuardianSignatures as Tr } from "./src/signer/mergeOwnerGuardianSignatures.js";
|
|
46
|
+
import { investmentMetaSchema as Cr, investmentSchema as yr, investmentsResponseSchema as Dr, lendingInvestmentSchema as Er, stakerInfoSchema as Rr, stakingActionSchema as vr, stakingInvestmentSchema as Pr, strkDelegatedStakingInvestmentSchema as Nr, strkStakingCalldataResponseSchema as br, strkStakingCalldataSchema as Fr } from "./src/staking/schema.js";
|
|
47
|
+
import { containsValue as Br, replaceValueRecursively as wr } from "./src/storage/utils.js";
|
|
48
|
+
import { mergeArrayStableWith as Hr, optionsWithDefaults as Lr } from "./src/storage/base.js";
|
|
49
|
+
import { getTokenBalance as Vr, getTokens as Mr, getTokensBalances as Wr, useToken as Ur } from "./src/tokens/balances.js";
|
|
50
|
+
import { DEFAULT_TOKEN_DECIMALS as Gr } from "./src/tokens/constants.js";
|
|
51
|
+
import { convertTokenAmountToCurrencyValue as Kr } from "./src/tokens/convertTokenAmountToCurrencyValue.js";
|
|
52
|
+
import { convertTokenUnitAmountWithDecimals as Xr } from "./src/tokens/convertTokenUnitAmountWithDecimals.js";
|
|
53
|
+
import { ensureDecimals as Zr } from "./src/tokens/ensureDecimals.js";
|
|
54
|
+
import { isUnlimitedAmount as Jr } from "./src/tokens/isUnlimitedAmount.js";
|
|
55
|
+
import { prettifyCurrencyValue as et } from "./src/tokens/prettifyCurrencyValue.js";
|
|
56
|
+
import { PRETTY_UNLIMITED as rt, prettifyTokenAmount as tt } from "./src/tokens/prettifyTokenAmount.js";
|
|
57
|
+
import { getCurrencySymbol as nt } from "./src/tokens/getCurrencySymbol.js";
|
|
58
|
+
import { TokenServiceWeb as it } from "./src/tokens/service/implementation.js";
|
|
59
|
+
import { TOKEN_ERROR_MESSAGES as ct, TokenError as St } from "./src/tokens/service/tokenError.js";
|
|
60
|
+
import { apiAccountTokenBalancesSchema as pt, apiAirdropSchema as lt, apiCollateralizedDebtPositionSchema as ht, apiCollateralizedDebtPositionsSchema as ft, apiConcentratedLiquidityPositionSchema as ut, apiConcentratedLiquidityPositionsSchema as At, apiDefiDecompositionProduct as xt, apiDefiDecompositionProducts as gt, apiDefiDecompositionSchema as Tt, apiDefiDecompositionToken as kt, apiDefiPositionSchema as Ct, apiDefiPositionsSchema as yt, apiDelegatedTokensArraySchema as Dt, apiDelegatedTokensSchema as Et, apiPriceDataResponseSchema as Rt, apiPriceDetailsSchema as vt, apiStakingPositionSchema as Pt, apiStakingPositionsSchema as Nt, apiStrkDelegatedStakingPositionsSchema as bt, apiStrkDelegatedStakingSchema as Ft, apiTokenInfoResponseSchema as It, apiTokenInfoSchema as Bt, apiTokensInfoResponseSchema as wt, apiUnclaimedRewardsSchema as _t } from "./src/tokens/service/types/backend.model.js";
|
|
61
|
+
import { collateralizedDebtGroupSchema as Lt, collateralizedDebtPositionSchema as Ot, collateralizedDebtPositionsSchema as Vt, concentratedLiquidityPositionSchema as Mt, concentratedLiquidityPositionsSchema as Wt, defiDappsProductsSchema as Ut, defiPositionSchema as qt, defiProductSchema as Gt, defiProductsSchema as zt, delegatedTokensArraySchema as Kt, delegatedTokensSchema as jt, productGroupsSchema as Xt, stakingPositionSchema as Yt, stakingPositionsSchema as Zt } from "./src/tokens/service/types/defiPosition.model.js";
|
|
62
|
+
import { defiPositionTypeSchema as Jt } from "./src/tokens/service/types/defiPositionType.model.js";
|
|
63
|
+
import { airdropSchema as eo, unclaimedRewardsSchema as ao } from "./src/tokens/service/types/unclaimedRewards.model.js";
|
|
64
|
+
import { webBaseTokenSchema as to, webBaseTokenWithBalanceSchema as oo, webTokenInfoDetailsSchema as no, webTokenPriceDetailsSchema as mo, webTokenSchema as io, webTokenWithBalanceAndPriceSchema as so, webTokenWithBalanceSchema as co, webTokenWithPriceSchema as So, webTokensWithBalanceAndPriceSchema as po } from "./src/tokens/service/types/webToken.model.js";
|
|
65
|
+
import { isCollateralizedDebtPosition as ho, isConcentratedLiquidityPosition as fo, isDelegatedTokens as uo, isStaking as Ao, isStrkDelegatedStaking as xo } from "./src/tokens/utils.js";
|
|
66
|
+
import { inputAmountSchema as To, isValidInputAmount as ko, parseAmount as Co } from "./src/transactions/amount.js";
|
|
67
|
+
import { erc20TransferTransaction as Do, erc721SafeTransferFromTransaction as Eo, erc721TransferFromTransaction as Ro } from "./src/transactions/buildTransactions.js";
|
|
68
|
+
import { getMessageFromTrpcError as Po, trpcErrorSchema as No } from "./src/transactions/errors.js";
|
|
69
|
+
import { FEE_OVERHEAD as Fo, argentMaxFee as Io, modifySnjsFeeOverhead as Bo } from "./src/transactions/estimate/argentMaxFee.js";
|
|
70
|
+
import { ESTIMATE_ERROR_MESSAGES as _o, EstimateError as Ho } from "./src/transactions/estimate/error.js";
|
|
71
|
+
import { transactionReviewTransactionsSchema as Oo } from "./src/transactions/estimate/model.js";
|
|
72
|
+
import { buildDummyTx as Mo, calculateCubeRootAdjustment as Wo, calculateNonLinearAdjustment as Uo, calculateSqrtAdjustment as qo, castFeeEstimation as Go, estimatedFeeToMaxFeeTotal as zo, estimatedFeeToMaxResourceBounds as Ko, estimatedFeeToTotal as jo, estimatedFeesToMaxFeeTotal as Xo, estimatedFeesToTotal as Yo, getEstimatedFeeFromBulkSimulation as Zo, getEstimatedFeeFromSimulationAndRespectWatermarkFee as Qo, getPayloadFromTransaction as Jo, getWatermarkedMaxFeeTotal as $o, isFRI as en, isWEI as an, multiplyBigIntByFloat as rn, toMax as tn, tokensRequireTxV3Support as on, unitToFeeTokenAddress as nn } from "./src/transactions/estimate/utils.js";
|
|
73
|
+
import { EventsBySelector as sn, findTransfersAndApprovals as cn } from "./src/transactions/findTransfersAndApprovals.js";
|
|
74
|
+
import { getPrettyRpcError as dn } from "./src/transactions/getPrettyRcpError.js";
|
|
75
|
+
import { getSimulationTxVersionFromFeeToken as ln, getTxVersionFromFeeToken as hn, getTxVersionFromFeeTokenForDeclareContract as fn } from "./src/transactions/getTransactionVersion.js";
|
|
76
|
+
import { TransactionReviewServiceWeb as An } from "./src/transactions/service/implementation.js";
|
|
77
|
+
import { transactionReviewWarningSchema as gn } from "./src/transactions/service/types.js";
|
|
78
|
+
import { apiTransactionReviewActivityType as kn } from "./src/transactions/transactionReviewTypes.js";
|
|
79
|
+
import { denyTxV3 as yn, txVersionSchema as Dn } from "./src/transactions/transactionVersion.js";
|
|
80
|
+
import { classHashSupportsTxV3 as Rn, feeTokenNeedsTxV3Support as vn } from "./src/transactions/txv3.js";
|
|
81
|
+
import { formatAddress as Nn } from "./src/utils/address.js";
|
|
82
|
+
import { ensureArray as Fn } from "./src/utils/arrays.js";
|
|
83
|
+
import { generateAvatarImage as Bn, getColor as wn, getNetworkAccountImageUrl as _n, stripAddressZeroPadding as Hn } from "./src/utils/avatarImage.js";
|
|
84
|
+
import { decodeBase58 as On, decodeBase58Array as Vn, encodeBase58 as Mn, encodeBase58Array as Wn } from "./src/utils/base58.js";
|
|
85
|
+
import { bigNumberSchema as qn } from "./src/utils/bigNumber.js";
|
|
86
|
+
import { daysBetween as zn } from "./src/utils/daysBetween.js";
|
|
87
|
+
import { isFeatureEnabled as jn } from "./src/utils/env.js";
|
|
88
|
+
import { hexSchema as Yn, hexSchemaBase as Zn } from "./src/utils/hex.js";
|
|
89
|
+
import { id as Jn } from "./src/utils/id.js";
|
|
90
|
+
import { getInitials as em } from "./src/utils/initials.js";
|
|
91
|
+
import { isContractDeployed as rm } from "./src/utils/isContractDeployed.js";
|
|
92
|
+
import { nonNullable as om } from "./src/utils/nonNullable.js";
|
|
93
|
+
import { isAllowedAddressHexInputValue as mm } from "./src/utils/number/isAllowedAddressHexInputValue.js";
|
|
94
|
+
import { isAllowedNumericInputValue as sm } from "./src/utils/number/isAllowedNumericInputValue.js";
|
|
95
|
+
import { isNumeric as Sm } from "./src/utils/number/isNumeric.js";
|
|
96
|
+
import { prettifyCurrencyNumber as pm, prettifyNumber as lm, prettifyNumberConfig as hm, prettifyTokenNumber as fm } from "./src/utils/number/prettifyNumber.js";
|
|
97
|
+
import { getUint256CalldataFromBN as Am, parseAmountValue as xm } from "./src/utils/parseAmount.js";
|
|
98
|
+
import { pluralise as Tm } from "./src/utils/pluralise.js";
|
|
99
|
+
import { readFileAsString as Cm } from "./src/utils/readFileAsString.js";
|
|
100
|
+
import { booleanToStringSchema as Dm, createSchemaWithWarnings as Em, safeParseAndWarn as Rm, stringToBooleanSchema as vm } from "./src/utils/schemas.js";
|
|
101
|
+
import { addOwnersCalldataSchema as Nm, addPluginCalldataSchema as bm, bigNumberishSchema as Fm, callDetailsSchema as Im, callSchema as Bm, calldataSchema as wm, changeGuardianCalldataSchema as _m, changeThresholdCalldataSchema as Hm, escapeGuardianCalldataSchema as Lm, executeOnPluginCalldataSchema as Om, feltSchema as Vm, looseCalldataSchema as Mm, multiTypeSchema as Wm, rawArgsArraySchema as Um, rawArgsObjectSchema as qm, rawArgsSchema as Gm, removeOwnersCalldataSchema as zm, removePluginCalldataSchema as Km, replaceSignerCalldataSchema as jm, transferCalldataSchema as Xm, uint256Schema as Ym } from "./src/utils/starknet/starknet.js";
|
|
102
|
+
import { abiEntrySchema as Qm, abiSchema as Jm, builtinsSchema as $m, byteCodeSchema as ei, cairo1EventSchema as ai, cairoAssemblySchema as ri, compiledContractClassSchema as ti, compiledSierraCasmSchema as oi, compiledSierraSchema as ni, compressedProgramSchema as mi, contractEntryPointFieldsSchema as ii, entryPointsByTypeSchema as si, eventAbiSchema as ci, eventEntrySchema as Si, functionAbiSchema as di, functionAbiTypeSchema as pi, legacyContractClassSchema as li, legacyEventSchema as hi, programSchema as fi, pythonicHintsSchema as ui, sierraContractEntryPointFieldsSchema as Ai, sierraEntryPointsByTypeSchema as xi, sierraProgramDebugInfoSchema as gi, structAbiSchema as Ti } from "./src/utils/starknet/starknetSchemas.js";
|
|
103
|
+
import { entryPointToHumanReadable as Ci } from "./src/utils/transactions.js";
|
|
104
|
+
import { urlWithQuery as Di } from "./src/utils/url/urlWithQuery.js";
|
|
105
|
+
import { voidify as Ri } from "./src/utils/voidify.js";
|
|
106
|
+
import { bipsToPercent as Pi } from "./src/utils/bips.js";
|
|
107
|
+
import { retryUntilInitialised as bi } from "./src/utils/retryUntilInitialised.js";
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
n as
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
Ie as ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES,
|
|
110
|
+
Be as ARGENT_MULTISIG_CONTRACT_CLASS_HASHES,
|
|
111
|
+
n as AccountNameGenerator,
|
|
112
|
+
i as AddSmartAccountResponseSchema,
|
|
113
|
+
s as AddSmartAcountRequestSchema,
|
|
114
|
+
c as BackendAccountSchema,
|
|
115
|
+
Ua as BackendNftService,
|
|
114
116
|
t as BaseError,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
117
|
+
we as C0_PROXY_CONTRACT_CLASS_HASHES,
|
|
118
|
+
P as CacheService,
|
|
119
|
+
Gr as DEFAULT_TOKEN_DECIMALS,
|
|
120
|
+
ma as DateService,
|
|
121
|
+
_o as ESTIMATE_ERROR_MESSAGES,
|
|
122
|
+
pe as ETH_TOKEN_ADDRESS,
|
|
123
|
+
Ho as EstimateError,
|
|
124
|
+
sn as EventsBySelector,
|
|
125
|
+
Fo as FEE_OVERHEAD,
|
|
126
|
+
Sa as HTTPService,
|
|
127
|
+
pa as HTTP_ERROR_MESSAGE,
|
|
128
|
+
sa as HttpError,
|
|
129
|
+
ya as KnownDappsBackendService,
|
|
130
|
+
Ar as MultiSigner,
|
|
131
|
+
ja as OnchainRecoveryService,
|
|
132
|
+
rt as PRETTY_UNLIMITED,
|
|
133
|
+
Ya as RecoveryStatusEnum,
|
|
134
|
+
Ba as ResolveNameService,
|
|
135
|
+
le as STANDARD_DEVNET_ACCOUNT_CLASS_HASH,
|
|
136
|
+
he as STRK_TOKEN_ADDRESS,
|
|
137
|
+
ha as SWRService,
|
|
138
|
+
be as StarknetAddressService,
|
|
139
|
+
Za as StartOnchainRecoveryErrorStatusEnum,
|
|
140
|
+
ct as TOKEN_ERROR_MESSAGES,
|
|
141
|
+
fe as TXV1_ACCOUNT_CLASS_HASH,
|
|
142
|
+
ue as TXV1_MULTISIG_CLASS_HASH,
|
|
143
|
+
Ae as TXV3_ACCOUNT_CLASS_HASH,
|
|
144
|
+
xe as TXV3_MULTISIG_CLASS_HASH,
|
|
145
|
+
St as TokenError,
|
|
146
|
+
it as TokenServiceWeb,
|
|
147
|
+
An as TransactionReviewServiceWeb,
|
|
148
|
+
Qm as abiEntrySchema,
|
|
149
|
+
Jm as abiSchema,
|
|
150
|
+
Qa as activeOnchainRecoverySchema,
|
|
151
|
+
Nm as addOwnersCalldataSchema,
|
|
152
|
+
bm as addPluginCalldataSchema,
|
|
153
|
+
re as addressInputCharactersAndLengthSchema,
|
|
154
|
+
te as addressInputSchema,
|
|
155
|
+
Y as addressOrDomainInputSchema,
|
|
156
|
+
Z as addressOrDomainSchema,
|
|
157
|
+
b as addressOrEmptyUndefinedSchema,
|
|
158
|
+
F as addressSchema,
|
|
159
|
+
I as addressSchemaArgentBackend,
|
|
160
|
+
B as addressSchemaBase,
|
|
161
|
+
w as addressSchemaLooseLength,
|
|
162
|
+
_ as addressSchemaStrictLength,
|
|
163
|
+
eo as airdropSchema,
|
|
164
|
+
pt as apiAccountTokenBalancesSchema,
|
|
165
|
+
lt as apiAirdropSchema,
|
|
166
|
+
ht as apiCollateralizedDebtPositionSchema,
|
|
167
|
+
ft as apiCollateralizedDebtPositionsSchema,
|
|
168
|
+
ut as apiConcentratedLiquidityPositionSchema,
|
|
169
|
+
At as apiConcentratedLiquidityPositionsSchema,
|
|
170
|
+
xt as apiDefiDecompositionProduct,
|
|
171
|
+
gt as apiDefiDecompositionProducts,
|
|
172
|
+
Tt as apiDefiDecompositionSchema,
|
|
173
|
+
kt as apiDefiDecompositionToken,
|
|
174
|
+
Ct as apiDefiPositionSchema,
|
|
175
|
+
yt as apiDefiPositionsSchema,
|
|
176
|
+
Dt as apiDelegatedTokensArraySchema,
|
|
177
|
+
Et as apiDelegatedTokensSchema,
|
|
178
|
+
Rt as apiPriceDataResponseSchema,
|
|
179
|
+
vt as apiPriceDetailsSchema,
|
|
180
|
+
Pt as apiStakingPositionSchema,
|
|
181
|
+
Nt as apiStakingPositionsSchema,
|
|
182
|
+
bt as apiStrkDelegatedStakingPositionsSchema,
|
|
183
|
+
Ft as apiStrkDelegatedStakingSchema,
|
|
184
|
+
It as apiTokenInfoResponseSchema,
|
|
185
|
+
Bt as apiTokenInfoSchema,
|
|
186
|
+
wt as apiTokensInfoResponseSchema,
|
|
187
|
+
kn as apiTransactionReviewActivityType,
|
|
188
|
+
_t as apiUnclaimedRewardsSchema,
|
|
189
|
+
Te as apiWalletResponseSchema,
|
|
190
|
+
x as argentBackendNetworkIdSchema,
|
|
191
|
+
Io as argentMaxFee,
|
|
192
|
+
ne as argentNameSchema,
|
|
193
|
+
g as argentNetworkIdSchema,
|
|
194
|
+
y as backendSessionAllowedMethodSchema,
|
|
195
|
+
D as backendSessionMetadataSchema,
|
|
196
|
+
E as backendSessionSchema,
|
|
197
|
+
R as backendSessionTxFeeSchema,
|
|
196
198
|
e as bigDecimal,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
199
|
+
qn as bigNumberSchema,
|
|
200
|
+
Fm as bigNumberishSchema,
|
|
201
|
+
Pi as bipsToPercent,
|
|
202
|
+
Dm as booleanToStringSchema,
|
|
203
|
+
Me as buildConstructorCalldata,
|
|
204
|
+
Mo as buildDummyTx,
|
|
205
|
+
$m as builtinsSchema,
|
|
206
|
+
ei as byteCodeSchema,
|
|
207
|
+
ai as cairo1EventSchema,
|
|
208
|
+
ri as cairoAssemblySchema,
|
|
209
|
+
Se as cairoVersionSchema,
|
|
210
|
+
Wo as calculateCubeRootAdjustment,
|
|
211
|
+
Uo as calculateNonLinearAdjustment,
|
|
212
|
+
qo as calculateSqrtAdjustment,
|
|
213
|
+
Im as callDetailsSchema,
|
|
214
|
+
Bm as callSchema,
|
|
215
|
+
wm as calldataSchema,
|
|
216
|
+
Go as castFeeEstimation,
|
|
217
|
+
_m as changeGuardianCalldataSchema,
|
|
218
|
+
Hm as changeThresholdCalldataSchema,
|
|
219
|
+
Rn as classHashSupportsTxV3,
|
|
220
|
+
Lt as collateralizedDebtGroupSchema,
|
|
221
|
+
Ot as collateralizedDebtPositionSchema,
|
|
222
|
+
Vt as collateralizedDebtPositionsSchema,
|
|
223
|
+
ti as compiledContractClassSchema,
|
|
224
|
+
oi as compiledSierraCasmSchema,
|
|
225
|
+
ni as compiledSierraSchema,
|
|
226
|
+
mi as compressedProgramSchema,
|
|
227
|
+
Mt as concentratedLiquidityPositionSchema,
|
|
228
|
+
Wt as concentratedLiquidityPositionsSchema,
|
|
229
|
+
He as constructorCallDataSchemaC0,
|
|
230
|
+
Le as constructorCallDataSchemaC1V1,
|
|
231
|
+
Br as containsValue,
|
|
232
|
+
ii as contractEntryPointFieldsSchema,
|
|
233
|
+
Kr as convertTokenAmountToCurrencyValue,
|
|
234
|
+
Xr as convertTokenUnitAmountWithDecimals,
|
|
235
|
+
Em as createSchemaWithWarnings,
|
|
236
|
+
Ea as dappContractSchema,
|
|
237
|
+
Ra as dappLinkSchema,
|
|
238
|
+
zn as daysBetween,
|
|
239
|
+
On as decodeBase58,
|
|
240
|
+
Vn as decodeBase58Array,
|
|
241
|
+
Ut as defiDappsProductsSchema,
|
|
242
|
+
qt as defiPositionSchema,
|
|
243
|
+
Jt as defiPositionTypeSchema,
|
|
244
|
+
Gt as defiProductSchema,
|
|
245
|
+
zt as defiProductsSchema,
|
|
246
|
+
Kt as delegatedTokensArraySchema,
|
|
247
|
+
jt as delegatedTokensSchema,
|
|
248
|
+
yn as denyTxV3,
|
|
249
|
+
Mn as encodeBase58,
|
|
250
|
+
Wn as encodeBase58Array,
|
|
251
|
+
Fn as ensureArray,
|
|
252
|
+
Zr as ensureDecimals,
|
|
253
|
+
Ci as entryPointToHumanReadable,
|
|
254
|
+
si as entryPointsByTypeSchema,
|
|
255
|
+
Ga as equalNft,
|
|
256
|
+
Do as erc20TransferTransaction,
|
|
257
|
+
Eo as erc721SafeTransferFromTransaction,
|
|
258
|
+
Ro as erc721TransferFromTransaction,
|
|
259
|
+
Lm as escapeGuardianCalldataSchema,
|
|
260
|
+
zo as estimatedFeeToMaxFeeTotal,
|
|
261
|
+
Ko as estimatedFeeToMaxResourceBounds,
|
|
262
|
+
jo as estimatedFeeToTotal,
|
|
263
|
+
Xo as estimatedFeesToMaxFeeTotal,
|
|
264
|
+
Yo as estimatedFeesToTotal,
|
|
265
|
+
ci as eventAbiSchema,
|
|
266
|
+
Si as eventEntrySchema,
|
|
267
|
+
Om as executeOnPluginCalldataSchema,
|
|
268
|
+
vn as feeTokenNeedsTxV3Support,
|
|
269
|
+
Vm as feltSchema,
|
|
270
|
+
ua as fetchData,
|
|
271
|
+
Aa as fetcherError,
|
|
272
|
+
We as findImplementationForAccount,
|
|
273
|
+
cn as findTransfersAndApprovals,
|
|
274
|
+
Nn as formatAddress,
|
|
275
|
+
H as formatFullAddress,
|
|
276
|
+
L as formatTruncatedAddress,
|
|
277
|
+
O as formatTruncatedSignerKey,
|
|
278
|
+
V as formatTruncatedString,
|
|
279
|
+
di as functionAbiSchema,
|
|
280
|
+
pi as functionAbiTypeSchema,
|
|
281
|
+
Bn as generateAvatarImage,
|
|
282
|
+
Ue as getAccountContractAddress,
|
|
283
|
+
qe as getAccountDeploymentPayload,
|
|
284
|
+
ke as getAddressFromArgentName,
|
|
285
|
+
ye as getAddressFromStarkName,
|
|
286
|
+
Ke as getArgentAccountClassHashes,
|
|
287
|
+
je as getArgentAccountClassHashesWithTxV3Support,
|
|
288
|
+
Xe as getArgentAccountWithMultiSignerClassHashes,
|
|
289
|
+
Ta as getBackendTimeNowSeconds,
|
|
290
|
+
ka as getBackendTimeSeconds,
|
|
291
|
+
De as getCallFromStarkName,
|
|
292
|
+
Pe as getChainIdFromNetworkId,
|
|
293
|
+
wn as getColor,
|
|
294
|
+
nt as getCurrencySymbol,
|
|
295
|
+
ba as getDapplandLinkForDapp,
|
|
296
|
+
Fa as getDapplandUrlForDapp,
|
|
297
|
+
Zo as getEstimatedFeeFromBulkSimulation,
|
|
298
|
+
Qo as getEstimatedFeeFromSimulationAndRespectWatermarkFee,
|
|
299
|
+
em as getInitials,
|
|
300
|
+
Ye as getLastCairo0ArgentAccountClassHash,
|
|
301
|
+
Ze as getLatestArgentAccountClassHash,
|
|
302
|
+
Qe as getLatestArgentMultisigClassHash,
|
|
303
|
+
Je as getLatestLedgerAccountClassHash,
|
|
304
|
+
$e as getLedgerAccountClassHashes,
|
|
305
|
+
Po as getMessageFromTrpcError,
|
|
306
|
+
_n as getNetworkAccountImageUrl,
|
|
307
|
+
za as getNftPicture,
|
|
308
|
+
Jo as getPayloadFromTransaction,
|
|
309
|
+
dn as getPrettyRpcError,
|
|
310
|
+
xr as getSignerForMultiSigner,
|
|
311
|
+
ln as getSimulationTxVersionFromFeeToken,
|
|
312
|
+
Ee as getStarknetIdContractAddressFromNetworkId,
|
|
313
|
+
Vr as getTokenBalance,
|
|
314
|
+
Mr as getTokens,
|
|
315
|
+
Wr as getTokensBalances,
|
|
316
|
+
hn as getTxVersionFromFeeToken,
|
|
317
|
+
fn as getTxVersionFromFeeTokenForDeclareContract,
|
|
318
|
+
sr as getUAParserResult,
|
|
319
|
+
Am as getUint256CalldataFromBN,
|
|
320
|
+
$o as getWatermarkedMaxFeeTotal,
|
|
321
|
+
Yn as hexSchema,
|
|
322
|
+
Zn as hexSchemaBase,
|
|
323
|
+
Jn as id,
|
|
324
|
+
Oe as implementationSchema,
|
|
325
|
+
M as includesAddress,
|
|
326
|
+
To as inputAmountSchema,
|
|
327
|
+
Cr as investmentMetaSchema,
|
|
328
|
+
yr as investmentSchema,
|
|
329
|
+
Dr as investmentsResponseSchema,
|
|
330
|
+
d as isAccountV4,
|
|
331
|
+
p as isAccountV5,
|
|
332
|
+
l as isAccountV6,
|
|
333
|
+
W as isAddress,
|
|
334
|
+
mm as isAllowedAddressHexInputValue,
|
|
335
|
+
sm as isAllowedNumericInputValue,
|
|
336
|
+
T as isArgentBackendNetworkId,
|
|
337
|
+
me as isArgentName,
|
|
338
|
+
k as isArgentNetworkId,
|
|
339
|
+
mr as isBraveBrowser,
|
|
340
|
+
cr as isBrowser,
|
|
341
|
+
Sr as isChromeBrowser,
|
|
342
|
+
ho as isCollateralizedDebtPosition,
|
|
343
|
+
fo as isConcentratedLiquidityPosition,
|
|
344
|
+
rm as isContractDeployed,
|
|
345
|
+
uo as isDelegatedTokens,
|
|
346
|
+
dr as isEdgeBrowser,
|
|
347
|
+
U as isEqualAddress,
|
|
348
|
+
ie as isEqualArgentName,
|
|
349
|
+
Ge as isEqualImplementation,
|
|
350
|
+
Q as isEqualStarknetDomainName,
|
|
351
|
+
aa as isEqualStarknetId,
|
|
352
|
+
en as isFRI,
|
|
353
|
+
jn as isFeatureEnabled,
|
|
354
|
+
pr as isFirefoxBrowser,
|
|
355
|
+
Sm as isNumeric,
|
|
356
|
+
lr as isSafariBrowser,
|
|
357
|
+
Ao as isStaking,
|
|
358
|
+
J as isStarknetDomainName,
|
|
359
|
+
ra as isStarknetId,
|
|
360
|
+
xo as isStrkDelegatedStaking,
|
|
361
|
+
Jr as isUnlimitedAmount,
|
|
362
|
+
q as isValidAddress,
|
|
363
|
+
ko as isValidInputAmount,
|
|
364
|
+
an as isWEI,
|
|
365
|
+
G as isZeroAddress,
|
|
366
|
+
va as knownDappSchema,
|
|
367
|
+
Pa as knownDappsSchema,
|
|
368
|
+
li as legacyContractClassSchema,
|
|
369
|
+
hi as legacyEventSchema,
|
|
370
|
+
Er as lendingInvestmentSchema,
|
|
371
|
+
Mm as looseCalldataSchema,
|
|
372
|
+
Hr as mergeArrayStableWith,
|
|
373
|
+
Tr as mergeOwnerGuardianSignatures,
|
|
374
|
+
Bo as modifySnjsFeeOverhead,
|
|
375
|
+
Wm as multiTypeSchema,
|
|
376
|
+
rn as multiplyBigIntByFloat,
|
|
377
|
+
_a as nameProviderResolutionSchema,
|
|
378
|
+
Ha as nameResolutionAddressSchema,
|
|
379
|
+
La as nameResolutionAddressesSchema,
|
|
380
|
+
Oa as nameResolutionStarknetIdSchema,
|
|
381
|
+
Va as nameResolutionStarknetIdsSchema,
|
|
382
|
+
om as nonNullable,
|
|
383
|
+
z as normalizeAddress,
|
|
384
|
+
$ as normalizeAddressOrDomain,
|
|
385
|
+
se as normalizeArgentName,
|
|
386
|
+
ta as normalizeStarknetId,
|
|
387
|
+
Ja as onchainRecoverySchema,
|
|
388
|
+
Lr as optionsWithDefaults,
|
|
389
|
+
Co as parseAmount,
|
|
390
|
+
xm as parseAmountValue,
|
|
391
|
+
Tm as pluralise,
|
|
392
|
+
xa as postData,
|
|
393
|
+
f as preferencesEndpointPayload,
|
|
394
|
+
u as preferencesSchema,
|
|
395
|
+
pm as prettifyCurrencyNumber,
|
|
396
|
+
et as prettifyCurrencyValue,
|
|
397
|
+
lm as prettifyNumber,
|
|
398
|
+
hm as prettifyNumberConfig,
|
|
399
|
+
tt as prettifyTokenAmount,
|
|
400
|
+
fm as prettifyTokenNumber,
|
|
401
|
+
Xt as productGroupsSchema,
|
|
402
|
+
fi as programSchema,
|
|
403
|
+
Ma as providersNamesSchema,
|
|
404
|
+
ui as pythonicHintsSchema,
|
|
405
|
+
Um as rawArgsArraySchema,
|
|
406
|
+
qm as rawArgsObjectSchema,
|
|
407
|
+
Gm as rawArgsSchema,
|
|
408
|
+
Cm as readFileAsString,
|
|
409
|
+
$a as recoveryBaseSchema,
|
|
410
|
+
er as recoveryBodySchema,
|
|
411
|
+
ar as recoveryStatusSchema,
|
|
412
|
+
zm as removeOwnersCalldataSchema,
|
|
413
|
+
Km as removePluginCalldataSchema,
|
|
414
|
+
jm as replaceSignerCalldataSchema,
|
|
415
|
+
wr as replaceValueRecursively,
|
|
416
|
+
bi as retryUntilInitialised,
|
|
417
|
+
Rm as safeParseAndWarn,
|
|
418
|
+
fr as seedphraseSchema,
|
|
419
|
+
Ai as sierraContractEntryPointFieldsSchema,
|
|
420
|
+
xi as sierraEntryPointsByTypeSchema,
|
|
421
|
+
gi as sierraProgramDebugInfoSchema,
|
|
422
|
+
Rr as stakerInfoSchema,
|
|
423
|
+
vr as stakingActionSchema,
|
|
424
|
+
Pr as stakingInvestmentSchema,
|
|
425
|
+
Yt as stakingPositionSchema,
|
|
426
|
+
Zt as stakingPositionsSchema,
|
|
427
|
+
Re as starkNameToCallDataDomain,
|
|
428
|
+
ee as starknetDomainNameSchema,
|
|
429
|
+
oa as starknetIdSchema,
|
|
430
|
+
rr as startOnchainRecoveryErrorSchema,
|
|
431
|
+
tr as startOnchainRecoveryErrorStatusSchema,
|
|
432
|
+
or as startOnchainRecoverySchema,
|
|
433
|
+
vm as stringToBooleanSchema,
|
|
434
|
+
Hn as stripAddressZeroPadding,
|
|
435
|
+
Nr as strkDelegatedStakingInvestmentSchema,
|
|
436
|
+
br as strkStakingCalldataResponseSchema,
|
|
437
|
+
Fr as strkStakingCalldataSchema,
|
|
438
|
+
Ti as structAbiSchema,
|
|
439
|
+
tn as toMax,
|
|
440
|
+
on as tokensRequireTxV3Support,
|
|
441
|
+
Oo as transactionReviewTransactionsSchema,
|
|
442
|
+
gn as transactionReviewWarningSchema,
|
|
443
|
+
Xm as transferCalldataSchema,
|
|
444
|
+
No as trpcErrorSchema,
|
|
445
|
+
Dn as txVersionSchema,
|
|
446
|
+
Ym as uint256Schema,
|
|
447
|
+
ao as unclaimedRewardsSchema,
|
|
448
|
+
nn as unitToFeeTokenAddress,
|
|
449
|
+
Di as urlWithQuery,
|
|
450
|
+
Ur as useToken,
|
|
451
|
+
K as validChecksumAddressSchema,
|
|
452
|
+
j as validateAddressRangeSchema,
|
|
453
|
+
Ri as voidify,
|
|
454
|
+
to as webBaseTokenSchema,
|
|
455
|
+
oo as webBaseTokenWithBalanceSchema,
|
|
456
|
+
no as webTokenInfoDetailsSchema,
|
|
457
|
+
mo as webTokenPriceDetailsSchema,
|
|
458
|
+
io as webTokenSchema,
|
|
459
|
+
so as webTokenWithBalanceAndPriceSchema,
|
|
460
|
+
co as webTokenWithBalanceSchema,
|
|
461
|
+
So as webTokenWithPriceSchema,
|
|
462
|
+
po as webTokensWithBalanceAndPriceSchema
|
|
461
463
|
};
|