@argent/x-shared 1.66.4 → 1.66.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +472 -463
- package/dist/src/chains/starknet/address.cjs +1 -1
- package/dist/src/chains/starknet/address.d.ts +19 -0
- package/dist/src/chains/starknet/address.js +81 -48
- package/dist/src/chains/starknet/getAddressFromArgentName.cjs +1 -1
- package/dist/src/chains/starknet/getAddressFromArgentName.js +7 -7
- package/dist/src/chains/starknet/services/address/StarknetAddressService.cjs +1 -1
- package/dist/src/chains/starknet/services/address/StarknetAddressService.js +9 -9
- package/dist/src/features/paymaster/types.cjs +1 -1
- package/dist/src/features/paymaster/types.js +1 -1
- package/dist/src/transactions/getTransactionVersion.cjs +1 -1
- package/dist/src/transactions/getTransactionVersion.js +5 -5
- package/dist/src/transactions/txv3.cjs +1 -1
- package/dist/src/transactions/txv3.js +4 -4
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.cjs +0 -1
- package/dist/node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.js +0 -1393
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/defaults.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/defaults.js +0 -20
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.js +0 -10
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/unescape.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/unescape.js +0 -25
- package/dist/src/locales/en/translation.json.cjs +0 -1
- package/dist/src/locales/en/translation.json.js +0 -7
- package/dist/src/utils/i18n.cjs +0 -1
- package/dist/src/utils/i18n.js +0 -21
package/dist/index.js
CHANGED
|
@@ -1,492 +1,501 @@
|
|
|
1
1
|
import * as e from "./src/bigdecimal/index.js";
|
|
2
|
-
import { BaseError as
|
|
2
|
+
import { BaseError as r } from "./src/errors/baseErrors.js";
|
|
3
3
|
import { AccountNameGenerator as n } from "./src/accountNameGenerator/index.js";
|
|
4
|
-
import { AddSmartAccountResponseSchema as
|
|
4
|
+
import { AddSmartAccountResponseSchema as s, AddSmartAcountRequestSchema as i, BackendAccountSchema as c, baseWalletAccountSchema as S } from "./src/account/account.model.js";
|
|
5
5
|
import { isAccountV4 as p, isAccountV5 as l, isAccountV6 as h } from "./src/account/accountv4.js";
|
|
6
|
-
import { preferencesEndpointPayload as u, preferencesSchema as
|
|
6
|
+
import { preferencesEndpointPayload as u, preferencesSchema as g } from "./src/account/preferences.model.js";
|
|
7
7
|
import { argentBackendNetworkIdSchema as x, argentNetworkIdSchema as T, isArgentBackendNetworkId as k, isArgentNetworkId as C } from "./src/backend/schema.js";
|
|
8
|
-
import { backendSessionAllowedMethodSchema as E, backendSessionMetadataSchema as D, backendSessionSchema as F, backendSessionTxFeeSchema as
|
|
8
|
+
import { backendSessionAllowedMethodSchema as E, backendSessionMetadataSchema as D, backendSessionSchema as F, backendSessionTxFeeSchema as R } from "./src/backend/sessionKeys/schema.js";
|
|
9
9
|
import { CacheService as N } from "./src/cache/CacheService.js";
|
|
10
|
-
import { addressOrEmptyUndefinedSchema as b, addressSchema as
|
|
11
|
-
import { addressOrDomainInputSchema as
|
|
12
|
-
import { addressInputCharactersAndLengthSchema as
|
|
13
|
-
import { argentNameSchema as
|
|
14
|
-
import { cairoVersionSchema as
|
|
15
|
-
import { ETH_TOKEN_ADDRESS as
|
|
16
|
-
import { apiWalletResponseSchema as
|
|
17
|
-
import { getAddressFromStarkName as
|
|
18
|
-
import { getArgentNetwork as
|
|
19
|
-
import { StarknetAddressService as
|
|
20
|
-
import { ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES as
|
|
21
|
-
import { constructorCallDataSchemaC0 as
|
|
22
|
-
import { buildConstructorCalldata as
|
|
23
|
-
import { getArgentAccountClassHashes as
|
|
24
|
-
import { isEqualStarknetId as
|
|
25
|
-
import { DateService as
|
|
26
|
-
import { HttpError as
|
|
27
|
-
import { HTTPService as
|
|
28
|
-
import { HTTP_ERROR_MESSAGE as
|
|
29
|
-
import { SWRService as
|
|
30
|
-
import { fetchData as
|
|
31
|
-
import { getBackendTimeNowSeconds as
|
|
32
|
-
import { KnownDappsBackendService as
|
|
33
|
-
import { dappContractSchema as
|
|
34
|
-
import { getDapplandLinkForDapp as
|
|
35
|
-
import { ResolveNameService as
|
|
36
|
-
import { nameProviderResolutionSchema as
|
|
37
|
-
import { BackendNftService as
|
|
38
|
-
import { equalNft as
|
|
39
|
-
import { OnchainRecoveryService as
|
|
40
|
-
import { RecoveryStatusEnum as
|
|
41
|
-
import { isBraveBrowser as
|
|
42
|
-
import { getUAParserResult as
|
|
43
|
-
import { seedphraseSchema as
|
|
44
|
-
import { MultiSigner as
|
|
45
|
-
import { mergeOwnerGuardianSignatures as
|
|
46
|
-
import { buildSellOptsSchema as
|
|
47
|
-
import { containsValue as
|
|
48
|
-
import { mergeArrayStableWith as
|
|
49
|
-
import { getTokenBalance as
|
|
50
|
-
import { DEFAULT_TOKEN_DECIMALS as
|
|
51
|
-
import { convertCurrencyValueToTokenAmount as
|
|
52
|
-
import { convertTokenAmountToCurrencyValue as
|
|
53
|
-
import { convertTokenUnitAmountWithDecimals as
|
|
54
|
-
import { ensureDecimals as
|
|
55
|
-
import { isUnlimitedAmount as
|
|
56
|
-
import { prettifyCurrencyValue as
|
|
57
|
-
import { PRETTY_UNLIMITED as
|
|
58
|
-
import { getCurrencySymbol as
|
|
59
|
-
import { TokenServiceWeb as
|
|
60
|
-
import { TOKEN_ERROR_MESSAGES as
|
|
61
|
-
import { apiAccountTokenBalancesSchema as
|
|
62
|
-
import { collateralizedDebtGroupSchema as
|
|
63
|
-
import { defiPositionTypeSchema as
|
|
64
|
-
import { airdropSchema as
|
|
65
|
-
import { webBaseTokenSchema as
|
|
66
|
-
import { isCollateralizedDebtPosition as
|
|
67
|
-
import { inputAmountSchema as
|
|
68
|
-
import { erc20TransferTransaction as
|
|
69
|
-
import { getMessageFromTrpcError as
|
|
70
|
-
import { FEE_OVERHEAD as
|
|
71
|
-
import { ESTIMATE_ERROR_MESSAGES as
|
|
72
|
-
import { transactionReviewTransactionsSchema as
|
|
73
|
-
import { buildDummyTx as
|
|
74
|
-
import { estimatedFeesToMaxFeeTotalV2 as
|
|
75
|
-
import { EventsBySelector as
|
|
76
|
-
import { getPrettyRpcError as
|
|
77
|
-
import { getAccountTxVersion as
|
|
78
|
-
import { TransactionReviewServiceWeb as
|
|
79
|
-
import { transactionReviewWarningSchema as
|
|
80
|
-
import { apiTransactionReviewActivityType as
|
|
81
|
-
import { denyTxV3 as
|
|
82
|
-
import { classHashSupportsTxV3 as
|
|
83
|
-
import { transactionExecutionResponseSchema as
|
|
84
|
-
import { formatAddress as
|
|
85
|
-
import { ensureArray as
|
|
86
|
-
import { generateAvatarImage as
|
|
87
|
-
import { decodeBase58 as
|
|
88
|
-
import { bigNumberSchema as
|
|
89
|
-
import { daysBetween as
|
|
90
|
-
import { isFeatureEnabled as
|
|
91
|
-
import { hexSchema as
|
|
92
|
-
import { id as
|
|
93
|
-
import { getInitials as
|
|
94
|
-
import { isContractDeployed as
|
|
95
|
-
import { nonNullable as
|
|
96
|
-
import { isAllowedAddressHexInputValue as
|
|
97
|
-
import { isAllowedNumericInputValue as
|
|
98
|
-
import { isNumeric as
|
|
99
|
-
import { prettifyCurrencyNumber as
|
|
100
|
-
import { abbreviateNumber as
|
|
101
|
-
import { getUint256CalldataFromBN as
|
|
102
|
-
import { pluralise as
|
|
103
|
-
import { readFileAsString as
|
|
104
|
-
import { booleanToStringSchema as
|
|
105
|
-
import { addOwnersCalldataSchema as
|
|
106
|
-
import { abiEntrySchema as
|
|
107
|
-
import { entryPointToHumanReadable as
|
|
108
|
-
import { urlWithQuery as
|
|
109
|
-
import { voidify as
|
|
110
|
-
import { bipsToPercent as
|
|
111
|
-
import { retryUntilInitialised as
|
|
10
|
+
import { addressOrEmptyUndefinedSchema as b, addressSchema as B, addressSchemaArgentBackend as I, addressSchemaBase as w, addressSchemaLooseLength as _, addressSchemaStrictLength as V, formatFullAddress as L, formatTruncatedAddress as O, formatTruncatedSignerKey as H, formatTruncatedString as M, getAddressOrEmptyUndefinedSchema as W, getAddressSchema as U, getAddressSchemaArgentBackend as q, getAddressSchemaBase as G, getAddressSchemaLooseLength as z, getAddressSchemaStrictLength as K, getAddressValidationSchemas as j, getValidChecksumAddressSchema as X, getValidateAddressRangeSchema as Y, includesAddress as Z, isAddress as Q, isBase58Address as J, isEqualAddress as $, isValidAddress as ee, isZeroAddress as ae, normalizeAddress as te, validChecksumAddressSchema as re, validateAddressRangeSchema as oe } from "./src/chains/starknet/address.js";
|
|
11
|
+
import { addressOrDomainInputSchema as me, addressOrDomainSchema as se, isEqualStarknetDomainName as ie, isStarknetDomainName as ce, normalizeAddressOrDomain as Se, starknetDomainNameSchema as de } from "./src/chains/starknet/addressDomain.js";
|
|
12
|
+
import { addressInputCharactersAndLengthSchema as le, addressInputSchema as he } from "./src/chains/starknet/addressInput.js";
|
|
13
|
+
import { argentNameSchema as ue, isArgentName as ge, isEqualArgentName as Ae, normalizeArgentName as xe } from "./src/chains/starknet/argentName.js";
|
|
14
|
+
import { cairoVersionSchema as ke } from "./src/chains/starknet/cairoVersionSchema.js";
|
|
15
|
+
import { ETH_TOKEN_ADDRESS as ye, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as Ee, STRK_TOKEN_ADDRESS as De, TXV1_ACCOUNT_CLASS_HASH as Fe, TXV1_MULTISIG_CLASS_HASH as Re, TXV3_ACCOUNT_CLASS_HASH as ve, TXV3_MULTISIG_CLASS_HASH as Ne } from "./src/chains/starknet/constants.js";
|
|
16
|
+
import { apiWalletResponseSchema as be, getAddressFromArgentName as Be } from "./src/chains/starknet/getAddressFromArgentName.js";
|
|
17
|
+
import { getAddressFromStarkName as we, getCallFromStarkName as _e, getStarknetIdContractAddressFromNetworkId as Ve, starkNameToCallDataDomain as Le } from "./src/chains/starknet/getAddressFromStarkName.js";
|
|
18
|
+
import { getArgentNetwork as He, getChainIdFromNetworkId as Me } from "./src/chains/starknet/network.js";
|
|
19
|
+
import { StarknetAddressService as Ue } from "./src/chains/starknet/services/address/StarknetAddressService.js";
|
|
20
|
+
import { ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES as Ge, ARGENT_MULTISIG_CONTRACT_CLASS_HASHES as ze, C0_PROXY_CONTRACT_CLASS_HASHES as Ke } from "./src/chains/starknet/services/deploymentData/constants.js";
|
|
21
|
+
import { constructorCallDataSchemaC0 as Xe, constructorCallDataSchemaC1V1 as Ye, implementationSchema as Ze } from "./src/chains/starknet/services/deploymentData/deploymentData.schema.js";
|
|
22
|
+
import { buildConstructorCalldata as Je, findImplementationForAccount as $e, getAccountContractAddress as ea, getAccountDeploymentPayload as aa, isEqualImplementation as ta } from "./src/chains/starknet/services/deploymentData/findImplementationForAccount.js";
|
|
23
|
+
import { getArgentAccountClassHashes as oa, getArgentAccountClassHashesWithTxV3Support as na, getArgentAccountWithMultiSignerClassHashes as ma, getLastCairo0ArgentAccountClassHash as sa, getLatestArgentAccountClassHash as ia, getLatestArgentMultisigClassHash as ca, getLatestLedgerAccountClassHash as Sa, getLedgerAccountClassHashes as da } from "./src/chains/starknet/services/deploymentData/getAccountClassHash.js";
|
|
24
|
+
import { isEqualStarknetId as la, isStarknetId as ha, normalizeStarknetId as fa, starknetIdSchema as ua } from "./src/chains/starknet/starknetId.js";
|
|
25
|
+
import { DateService as Aa } from "./src/http/DateService.js";
|
|
26
|
+
import { HttpError as Ta } from "./src/http/HttpError.js";
|
|
27
|
+
import { HTTPService as Ca } from "./src/http/HttpService.js";
|
|
28
|
+
import { HTTP_ERROR_MESSAGE as Ea } from "./src/http/IHttpService.js";
|
|
29
|
+
import { SWRService as Fa } from "./src/http/SWRService.js";
|
|
30
|
+
import { fetchData as va, fetcherError as Na, postData as Pa } from "./src/http/fetcher.js";
|
|
31
|
+
import { getBackendTimeNowSeconds as Ba, getBackendTimeSeconds as Ia } from "./src/http/time.js";
|
|
32
|
+
import { KnownDappsBackendService as _a } from "./src/knownDapps/KnownDappsBackendService.js";
|
|
33
|
+
import { dappContractSchema as La, dappLinkSchema as Oa, knownDappSchema as Ha, knownDappsSchema as Ma } from "./src/knownDapps/schema.js";
|
|
34
|
+
import { getDapplandLinkForDapp as Ua, getDapplandUrlForDapp as qa } from "./src/knownDapps/utils/getDapplandUrl.js";
|
|
35
|
+
import { ResolveNameService as za } from "./src/nameResolution/ResolveNameService.js";
|
|
36
|
+
import { nameProviderResolutionSchema as ja, nameResolutionAddressSchema as Xa, nameResolutionAddressesSchema as Ya, nameResolutionStarknetIdSchema as Za, nameResolutionStarknetIdsSchema as Qa, providersNamesSchema as Ja } from "./src/nameResolution/schema.js";
|
|
37
|
+
import { BackendNftService as et } from "./src/nfts/BackendNftService.js";
|
|
38
|
+
import { equalNft as tt, getNftPicture as rt } from "./src/nfts/utils.js";
|
|
39
|
+
import { OnchainRecoveryService as nt } from "./src/onchainRecovery/OnchainRecoveryService.js";
|
|
40
|
+
import { RecoveryStatusEnum as st, StartOnchainRecoveryErrorStatusEnum as it, activeOnchainRecoverySchema as ct, onchainRecoverySchema as St, recoveryBaseSchema as dt, recoveryBodySchema as pt, recoveryStatusSchema as lt, startOnchainRecoveryErrorSchema as ht, startOnchainRecoveryErrorStatusSchema as ft, startOnchainRecoverySchema as ut } from "./src/onchainRecovery/schema.js";
|
|
41
|
+
import { isBraveBrowser as At } from "./src/platform/isBraveBrowser.js";
|
|
42
|
+
import { getUAParserResult as Tt, isBrowser as kt, isChromeBrowser as Ct, isEdgeBrowser as yt, isFirefoxBrowser as Et, isSafariBrowser as Dt } from "./src/platform/isBrowser.js";
|
|
43
|
+
import { seedphraseSchema as Rt } from "./src/signer/seedphrase.js";
|
|
44
|
+
import { MultiSigner as Nt, getSignerForMultiSigner as Pt } from "./src/signer/multisigner.js";
|
|
45
|
+
import { mergeOwnerGuardianSignatures as Bt } from "./src/signer/mergeOwnerGuardianSignatures.js";
|
|
46
|
+
import { buildSellOptsSchema as wt, investmentMetaSchema as _t, investmentSchema as Vt, investmentsResponseSchema as Lt, lendingInvestmentSchema as Ot, liquidStakingInvestmentSchema as Ht, stakerInfoSchema as Mt, stakingActionSchema as Wt, strkDelegatedStakingInvestmentSchema as Ut, strkStakingCalldataResponseSchema as qt, strkStakingCalldataSchema as Gt } from "./src/staking/schema.js";
|
|
47
|
+
import { containsValue as Kt, replaceValueRecursively as jt } from "./src/storage/utils.js";
|
|
48
|
+
import { mergeArrayStableWith as Yt, optionsWithDefaults as Zt } from "./src/storage/base.js";
|
|
49
|
+
import { getTokenBalance as Jt, getTokens as $t, getTokensBalances as er, useToken as ar } from "./src/tokens/balances.js";
|
|
50
|
+
import { DEFAULT_TOKEN_DECIMALS as rr } from "./src/tokens/constants.js";
|
|
51
|
+
import { convertCurrencyValueToTokenAmount as nr } from "./src/tokens/convertCurrencyValueToTokenAmount.js";
|
|
52
|
+
import { convertTokenAmountToCurrencyValue as sr } from "./src/tokens/convertTokenAmountToCurrencyValue.js";
|
|
53
|
+
import { convertTokenUnitAmountWithDecimals as cr } from "./src/tokens/convertTokenUnitAmountWithDecimals.js";
|
|
54
|
+
import { ensureDecimals as dr } from "./src/tokens/ensureDecimals.js";
|
|
55
|
+
import { isUnlimitedAmount as lr } from "./src/tokens/isUnlimitedAmount.js";
|
|
56
|
+
import { prettifyCurrencyValue as fr } from "./src/tokens/prettifyCurrencyValue.js";
|
|
57
|
+
import { PRETTY_UNLIMITED as gr, prettifyTokenAmount as Ar } from "./src/tokens/prettifyTokenAmount.js";
|
|
58
|
+
import { getCurrencySymbol as Tr } from "./src/tokens/getCurrencySymbol.js";
|
|
59
|
+
import { TokenServiceWeb as Cr } from "./src/tokens/service/implementation.js";
|
|
60
|
+
import { TOKEN_ERROR_MESSAGES as Er, TokenError as Dr } from "./src/tokens/service/tokenError.js";
|
|
61
|
+
import { apiAccountTokenBalancesSchema as Rr, apiAirdropSchema as vr, apiCollateralizedDebtPositionSchema as Nr, apiCollateralizedDebtPositionsSchema as Pr, apiConcentratedLiquidityPositionSchema as br, apiConcentratedLiquidityPositionsSchema as Br, apiDefiDecompositionProduct as Ir, apiDefiDecompositionProducts as wr, apiDefiDecompositionSchema as _r, apiDefiDecompositionToken as Vr, apiDefiPositionSchema as Lr, apiDefiPositionsSchema as Or, apiDelegatedTokensArraySchema as Hr, apiDelegatedTokensSchema as Mr, apiPriceDataResponseSchema as Wr, apiPriceDetailsSchema as Ur, apiStakingPositionSchema as qr, apiStakingPositionsSchema as Gr, apiStrkDelegatedStakingPositionsSchema as zr, apiStrkDelegatedStakingSchema as Kr, apiTokenInfoResponseSchema as jr, apiTokenInfoSchema as Xr, apiTokensInfoResponseSchema as Yr, apiUnclaimedRewardsSchema as Zr } from "./src/tokens/service/types/backend.model.js";
|
|
62
|
+
import { collateralizedDebtGroupSchema as Jr, collateralizedDebtPositionSchema as $r, collateralizedDebtPositionsSchema as eo, concentratedLiquidityPositionSchema as ao, concentratedLiquidityPositionsSchema as to, defiDappsProductsSchema as ro, defiPositionSchema as oo, defiProductSchema as no, defiProductsSchema as mo, delegatedTokensArraySchema as so, delegatedTokensSchema as io, productGroupsSchema as co, stakingPositionSchema as So, stakingPositionsSchema as po, strkDelegatedStakingPositionArraySchema as lo, strkDelegatedStakingPositionSchema as ho } from "./src/tokens/service/types/defiPosition.model.js";
|
|
63
|
+
import { defiPositionTypeSchema as uo } from "./src/tokens/service/types/defiPositionType.model.js";
|
|
64
|
+
import { airdropSchema as Ao, unclaimedRewardsSchema as xo } from "./src/tokens/service/types/unclaimedRewards.model.js";
|
|
65
|
+
import { webBaseTokenSchema as ko, webBaseTokenWithBalanceSchema as Co, webTokenInfoDetailsSchema as yo, webTokenPriceDetailsSchema as Eo, webTokenSchema as Do, webTokenWithBalanceAndPriceSchema as Fo, webTokenWithBalanceSchema as Ro, webTokenWithPriceSchema as vo, webTokensWithBalanceAndPriceSchema as No } from "./src/tokens/service/types/webToken.model.js";
|
|
66
|
+
import { isCollateralizedDebtPosition as bo, isConcentratedLiquidityPosition as Bo, isDelegatedTokens as Io, isStaking as wo, isStrkDelegatedStaking as _o } from "./src/tokens/utils.js";
|
|
67
|
+
import { inputAmountSchema as Lo, isValidInputAmount as Oo, parseAmount as Ho } from "./src/transactions/amount.js";
|
|
68
|
+
import { erc20TransferTransaction as Wo, erc721SafeTransferFromTransaction as Uo, erc721TransferFromTransaction as qo } from "./src/transactions/buildTransactions.js";
|
|
69
|
+
import { getMessageFromTrpcError as zo, trpcErrorSchema as Ko } from "./src/transactions/errors.js";
|
|
70
|
+
import { FEE_OVERHEAD as Xo, argentMaxFee as Yo, modifySnjsFeeOverhead as Zo } from "./src/transactions/estimate/argentMaxFee.js";
|
|
71
|
+
import { ESTIMATE_ERROR_MESSAGES as Jo, EstimateError as $o } from "./src/transactions/estimate/error.js";
|
|
72
|
+
import { transactionReviewTransactionsSchema as an } from "./src/transactions/estimate/model.js";
|
|
73
|
+
import { buildDummyTx as rn, calculateCubeRootAdjustment as on, calculateNonLinearAdjustment as nn, calculateSqrtAdjustment as mn, castFeeEstimation as sn, estimatedFeeToMaxFeeTotal as cn, estimatedFeeToMaxResourceBounds as Sn, estimatedFeeToTotal as dn, estimatedFeesToMaxFeeTotal as pn, estimatedFeesToTotal as ln, getEstimatedFeeFromBulkSimulation as hn, getEstimatedFeeFromSimulationAndRespectWatermarkFee as fn, getPayloadFromTransaction as un, getWatermarkedMaxFeeTotal as gn, isFRI as An, isWEI as xn, multiplyBigIntByFloat as Tn, toMax as kn, tokensRequireTxV3Support as Cn, unitToFeeTokenAddress as yn } from "./src/transactions/estimate/utils.js";
|
|
74
|
+
import { estimatedFeesToMaxFeeTotalV2 as Dn, estimatedFeesToTotalV2 as Fn, filterPaymasterEstimatedFees as Rn, getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2 as vn, getNativeEstimatedFeeByFeeToken as Nn, getNativeEstimatedFeeByTxVersion as Pn, getNativeEstimatedFeeForAccount as bn, getNativeEstimatedFees as Bn, getNativeFeeFromSimulation as In, getNativeFeeTokenAddress as wn, getPaymasterFeeFromSimulation as _n } from "./src/transactions/estimate/utilsV2.js";
|
|
75
|
+
import { EventsBySelector as Ln, findTransfersAndApprovals as On } from "./src/transactions/findTransfersAndApprovals.js";
|
|
76
|
+
import { getPrettyRpcError as Mn } from "./src/transactions/getPrettyRcpError.js";
|
|
77
|
+
import { getAccountTxVersion as Un, getSimulationTxVersionFromFeeToken as qn, getTxVersionForDeclareContract as Gn, getTxVersionFromFeeToken as zn, getTxVersionFromFeeTokenForDeclareContract as Kn } from "./src/transactions/getTransactionVersion.js";
|
|
78
|
+
import { TransactionReviewServiceWeb as Xn } from "./src/transactions/service/implementation.js";
|
|
79
|
+
import { transactionReviewWarningSchema as Zn } from "./src/transactions/service/types.js";
|
|
80
|
+
import { apiTransactionReviewActivityType as Jn } from "./src/transactions/transactionReviewTypes.js";
|
|
81
|
+
import { denyTxV3 as em, txVersionSchema as am } from "./src/transactions/transactionVersion.js";
|
|
82
|
+
import { classHashSupportsTxV3 as rm, feeTokenNeedsTxV3Support as om } from "./src/transactions/txv3.js";
|
|
83
|
+
import { transactionExecutionResponseSchema as mm, transactionPromotionPrizeSchema as sm, transactionPromotionSchema as im } from "./src/transactions/transactionExecuteTypes.js";
|
|
84
|
+
import { formatAddress as Sm } from "./src/utils/address.js";
|
|
85
|
+
import { ensureArray as pm } from "./src/utils/arrays.js";
|
|
86
|
+
import { generateAvatarImage as hm, getColor as fm, getNetworkAccountImageUrl as um, stripAddressZeroPadding as gm } from "./src/utils/avatarImage.js";
|
|
87
|
+
import { decodeBase58 as xm, decodeBase58Array as Tm, encodeBase58 as km, encodeBase58Array as Cm } from "./src/utils/base58.js";
|
|
88
|
+
import { bigNumberSchema as Em } from "./src/utils/bigNumber.js";
|
|
89
|
+
import { daysBetween as Fm } from "./src/utils/daysBetween.js";
|
|
90
|
+
import { isFeatureEnabled as vm } from "./src/utils/env.js";
|
|
91
|
+
import { hexSchema as Pm, hexSchemaBase as bm } from "./src/utils/hex.js";
|
|
92
|
+
import { id as Im } from "./src/utils/id.js";
|
|
93
|
+
import { getInitials as _m } from "./src/utils/initials.js";
|
|
94
|
+
import { isContractDeployed as Lm } from "./src/utils/isContractDeployed.js";
|
|
95
|
+
import { nonNullable as Hm } from "./src/utils/nonNullable.js";
|
|
96
|
+
import { isAllowedAddressHexInputValue as Wm } from "./src/utils/number/isAllowedAddressHexInputValue.js";
|
|
97
|
+
import { isAllowedNumericInputValue as qm } from "./src/utils/number/isAllowedNumericInputValue.js";
|
|
98
|
+
import { isNumeric as zm } from "./src/utils/number/isNumeric.js";
|
|
99
|
+
import { prettifyCurrencyNumber as jm, prettifyNumber as Xm, prettifyNumberConfig as Ym, prettifyTokenNumber as Zm } from "./src/utils/number/prettifyNumber.js";
|
|
100
|
+
import { abbreviateNumber as Jm } from "./src/utils/number/abbreviateNumber.js";
|
|
101
|
+
import { getUint256CalldataFromBN as es, parseAmountValue as as } from "./src/utils/parseAmount.js";
|
|
102
|
+
import { pluralise as rs } from "./src/utils/pluralise.js";
|
|
103
|
+
import { readFileAsString as ns } from "./src/utils/readFileAsString.js";
|
|
104
|
+
import { booleanToStringSchema as ss, createSchemaWithWarnings as is, safeParseAndWarn as cs, stringToBooleanSchema as Ss } from "./src/utils/schemas.js";
|
|
105
|
+
import { addOwnersCalldataSchema as ps, addPluginCalldataSchema as ls, bigNumberishSchema as hs, callDetailsSchema as fs, callSchema as us, calldataSchema as gs, changeGuardianCalldataSchema as As, changeThresholdCalldataSchema as xs, escapeGuardianCalldataSchema as Ts, executeOnPluginCalldataSchema as ks, feltSchema as Cs, looseCalldataSchema as ys, multiTypeSchema as Es, rawArgsArraySchema as Ds, rawArgsObjectSchema as Fs, rawArgsSchema as Rs, removeOwnersCalldataSchema as vs, removePluginCalldataSchema as Ns, replaceSignerCalldataSchema as Ps, transferCalldataSchema as bs, typedDataSchema as Bs, uint256Schema as Is } from "./src/utils/starknet/starknet.js";
|
|
106
|
+
import { abiEntrySchema as _s, abiSchema as Vs, builtinsSchema as Ls, byteCodeSchema as Os, cairo1EventSchema as Hs, cairoAssemblySchema as Ms, compiledContractClassSchema as Ws, compiledSierraCasmSchema as Us, compiledSierraSchema as qs, compressedProgramSchema as Gs, contractEntryPointFieldsSchema as zs, entryPointsByTypeSchema as Ks, eventAbiSchema as js, eventEntrySchema as Xs, functionAbiSchema as Ys, functionAbiTypeSchema as Zs, legacyContractClassSchema as Qs, legacyEventSchema as Js, programSchema as $s, pythonicHintsSchema as ei, sierraContractEntryPointFieldsSchema as ai, sierraEntryPointsByTypeSchema as ti, sierraProgramDebugInfoSchema as ri, structAbiSchema as oi } from "./src/utils/starknet/starknetSchemas.js";
|
|
107
|
+
import { entryPointToHumanReadable as mi } from "./src/utils/transactions.js";
|
|
108
|
+
import { urlWithQuery as ii } from "./src/utils/url/urlWithQuery.js";
|
|
109
|
+
import { voidify as Si } from "./src/utils/voidify.js";
|
|
110
|
+
import { bipsToPercent as pi } from "./src/utils/bips.js";
|
|
111
|
+
import { retryUntilInitialised as hi } from "./src/utils/retryUntilInitialised.js";
|
|
112
112
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
Ge as ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES,
|
|
114
|
+
ze as ARGENT_MULTISIG_CONTRACT_CLASS_HASHES,
|
|
115
115
|
n as AccountNameGenerator,
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
s as AddSmartAccountResponseSchema,
|
|
117
|
+
i as AddSmartAcountRequestSchema,
|
|
118
118
|
c as BackendAccountSchema,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
et as BackendNftService,
|
|
120
|
+
r as BaseError,
|
|
121
|
+
Ke as C0_PROXY_CONTRACT_CLASS_HASHES,
|
|
122
122
|
N as CacheService,
|
|
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
|
-
|
|
123
|
+
rr as DEFAULT_TOKEN_DECIMALS,
|
|
124
|
+
Aa as DateService,
|
|
125
|
+
Jo as ESTIMATE_ERROR_MESSAGES,
|
|
126
|
+
ye as ETH_TOKEN_ADDRESS,
|
|
127
|
+
$o as EstimateError,
|
|
128
|
+
Ln as EventsBySelector,
|
|
129
|
+
Xo as FEE_OVERHEAD,
|
|
130
|
+
Ca as HTTPService,
|
|
131
|
+
Ea as HTTP_ERROR_MESSAGE,
|
|
132
|
+
Ta as HttpError,
|
|
133
|
+
_a as KnownDappsBackendService,
|
|
134
|
+
Nt as MultiSigner,
|
|
135
|
+
nt as OnchainRecoveryService,
|
|
136
|
+
gr as PRETTY_UNLIMITED,
|
|
137
|
+
st as RecoveryStatusEnum,
|
|
138
|
+
za as ResolveNameService,
|
|
139
|
+
Ee as STANDARD_DEVNET_ACCOUNT_CLASS_HASH,
|
|
140
|
+
De as STRK_TOKEN_ADDRESS,
|
|
141
|
+
Fa as SWRService,
|
|
142
|
+
Ue as StarknetAddressService,
|
|
143
|
+
it as StartOnchainRecoveryErrorStatusEnum,
|
|
144
|
+
Er as TOKEN_ERROR_MESSAGES,
|
|
145
|
+
Fe as TXV1_ACCOUNT_CLASS_HASH,
|
|
146
|
+
Re as TXV1_MULTISIG_CLASS_HASH,
|
|
147
|
+
ve as TXV3_ACCOUNT_CLASS_HASH,
|
|
148
|
+
Ne as TXV3_MULTISIG_CLASS_HASH,
|
|
149
|
+
Dr as TokenError,
|
|
150
|
+
Cr as TokenServiceWeb,
|
|
151
|
+
Xn as TransactionReviewServiceWeb,
|
|
152
|
+
Jm as abbreviateNumber,
|
|
153
|
+
_s as abiEntrySchema,
|
|
154
|
+
Vs as abiSchema,
|
|
155
|
+
ct as activeOnchainRecoverySchema,
|
|
156
|
+
ps as addOwnersCalldataSchema,
|
|
157
|
+
ls as addPluginCalldataSchema,
|
|
158
|
+
le as addressInputCharactersAndLengthSchema,
|
|
159
|
+
he as addressInputSchema,
|
|
160
|
+
me as addressOrDomainInputSchema,
|
|
161
|
+
se as addressOrDomainSchema,
|
|
162
162
|
b as addressOrEmptyUndefinedSchema,
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
B as addressSchema,
|
|
164
|
+
I as addressSchemaArgentBackend,
|
|
165
165
|
w as addressSchemaBase,
|
|
166
166
|
_ as addressSchemaLooseLength,
|
|
167
167
|
V as addressSchemaStrictLength,
|
|
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
|
-
|
|
168
|
+
Ao as airdropSchema,
|
|
169
|
+
Rr as apiAccountTokenBalancesSchema,
|
|
170
|
+
vr as apiAirdropSchema,
|
|
171
|
+
Nr as apiCollateralizedDebtPositionSchema,
|
|
172
|
+
Pr as apiCollateralizedDebtPositionsSchema,
|
|
173
|
+
br as apiConcentratedLiquidityPositionSchema,
|
|
174
|
+
Br as apiConcentratedLiquidityPositionsSchema,
|
|
175
|
+
Ir as apiDefiDecompositionProduct,
|
|
176
|
+
wr as apiDefiDecompositionProducts,
|
|
177
|
+
_r as apiDefiDecompositionSchema,
|
|
178
|
+
Vr as apiDefiDecompositionToken,
|
|
179
|
+
Lr as apiDefiPositionSchema,
|
|
180
|
+
Or as apiDefiPositionsSchema,
|
|
181
|
+
Hr as apiDelegatedTokensArraySchema,
|
|
182
|
+
Mr as apiDelegatedTokensSchema,
|
|
183
|
+
Wr as apiPriceDataResponseSchema,
|
|
184
|
+
Ur as apiPriceDetailsSchema,
|
|
185
|
+
qr as apiStakingPositionSchema,
|
|
186
|
+
Gr as apiStakingPositionsSchema,
|
|
187
|
+
zr as apiStrkDelegatedStakingPositionsSchema,
|
|
188
|
+
Kr as apiStrkDelegatedStakingSchema,
|
|
189
|
+
jr as apiTokenInfoResponseSchema,
|
|
190
|
+
Xr as apiTokenInfoSchema,
|
|
191
|
+
Yr as apiTokensInfoResponseSchema,
|
|
192
|
+
Jn as apiTransactionReviewActivityType,
|
|
193
|
+
Zr as apiUnclaimedRewardsSchema,
|
|
194
|
+
be as apiWalletResponseSchema,
|
|
195
195
|
x as argentBackendNetworkIdSchema,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
Yo as argentMaxFee,
|
|
197
|
+
ue as argentNameSchema,
|
|
198
198
|
T as argentNetworkIdSchema,
|
|
199
199
|
E as backendSessionAllowedMethodSchema,
|
|
200
200
|
D as backendSessionMetadataSchema,
|
|
201
201
|
F as backendSessionSchema,
|
|
202
|
-
|
|
202
|
+
R as backendSessionTxFeeSchema,
|
|
203
203
|
S as baseWalletAccountSchema,
|
|
204
204
|
e as bigDecimal,
|
|
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
|
-
|
|
205
|
+
Em as bigNumberSchema,
|
|
206
|
+
hs as bigNumberishSchema,
|
|
207
|
+
pi as bipsToPercent,
|
|
208
|
+
ss as booleanToStringSchema,
|
|
209
|
+
Je as buildConstructorCalldata,
|
|
210
|
+
rn as buildDummyTx,
|
|
211
|
+
wt as buildSellOptsSchema,
|
|
212
|
+
Ls as builtinsSchema,
|
|
213
|
+
Os as byteCodeSchema,
|
|
214
|
+
Hs as cairo1EventSchema,
|
|
215
|
+
Ms as cairoAssemblySchema,
|
|
216
|
+
ke as cairoVersionSchema,
|
|
217
|
+
on as calculateCubeRootAdjustment,
|
|
218
|
+
nn as calculateNonLinearAdjustment,
|
|
219
|
+
mn as calculateSqrtAdjustment,
|
|
220
|
+
fs as callDetailsSchema,
|
|
221
|
+
us as callSchema,
|
|
222
|
+
gs as calldataSchema,
|
|
223
|
+
sn as castFeeEstimation,
|
|
224
|
+
As as changeGuardianCalldataSchema,
|
|
225
|
+
xs as changeThresholdCalldataSchema,
|
|
226
|
+
rm as classHashSupportsTxV3,
|
|
227
|
+
Jr as collateralizedDebtGroupSchema,
|
|
228
|
+
$r as collateralizedDebtPositionSchema,
|
|
229
|
+
eo as collateralizedDebtPositionsSchema,
|
|
230
|
+
Ws as compiledContractClassSchema,
|
|
231
|
+
Us as compiledSierraCasmSchema,
|
|
232
|
+
qs as compiledSierraSchema,
|
|
233
|
+
Gs as compressedProgramSchema,
|
|
234
|
+
ao as concentratedLiquidityPositionSchema,
|
|
235
|
+
to as concentratedLiquidityPositionsSchema,
|
|
236
|
+
Xe as constructorCallDataSchemaC0,
|
|
237
|
+
Ye as constructorCallDataSchemaC1V1,
|
|
238
|
+
Kt as containsValue,
|
|
239
|
+
zs as contractEntryPointFieldsSchema,
|
|
240
|
+
nr as convertCurrencyValueToTokenAmount,
|
|
241
|
+
sr as convertTokenAmountToCurrencyValue,
|
|
242
|
+
cr as convertTokenUnitAmountWithDecimals,
|
|
243
|
+
is as createSchemaWithWarnings,
|
|
244
|
+
La as dappContractSchema,
|
|
245
|
+
Oa as dappLinkSchema,
|
|
246
|
+
Fm as daysBetween,
|
|
247
|
+
xm as decodeBase58,
|
|
248
|
+
Tm as decodeBase58Array,
|
|
249
|
+
ro as defiDappsProductsSchema,
|
|
250
|
+
oo as defiPositionSchema,
|
|
251
|
+
uo as defiPositionTypeSchema,
|
|
252
|
+
no as defiProductSchema,
|
|
253
|
+
mo as defiProductsSchema,
|
|
254
|
+
so as delegatedTokensArraySchema,
|
|
255
|
+
io as delegatedTokensSchema,
|
|
256
|
+
em as denyTxV3,
|
|
257
|
+
km as encodeBase58,
|
|
258
|
+
Cm as encodeBase58Array,
|
|
259
|
+
pm as ensureArray,
|
|
260
|
+
dr as ensureDecimals,
|
|
261
|
+
mi as entryPointToHumanReadable,
|
|
262
|
+
Ks as entryPointsByTypeSchema,
|
|
263
|
+
tt as equalNft,
|
|
264
|
+
Wo as erc20TransferTransaction,
|
|
265
|
+
Uo as erc721SafeTransferFromTransaction,
|
|
266
|
+
qo as erc721TransferFromTransaction,
|
|
267
|
+
Ts as escapeGuardianCalldataSchema,
|
|
268
|
+
cn as estimatedFeeToMaxFeeTotal,
|
|
269
|
+
Sn as estimatedFeeToMaxResourceBounds,
|
|
270
|
+
dn as estimatedFeeToTotal,
|
|
271
|
+
pn as estimatedFeesToMaxFeeTotal,
|
|
272
|
+
Dn as estimatedFeesToMaxFeeTotalV2,
|
|
273
|
+
ln as estimatedFeesToTotal,
|
|
274
|
+
Fn as estimatedFeesToTotalV2,
|
|
275
|
+
js as eventAbiSchema,
|
|
276
|
+
Xs as eventEntrySchema,
|
|
277
|
+
ks as executeOnPluginCalldataSchema,
|
|
278
|
+
om as feeTokenNeedsTxV3Support,
|
|
279
|
+
Cs as feltSchema,
|
|
280
|
+
va as fetchData,
|
|
281
|
+
Na as fetcherError,
|
|
282
|
+
Rn as filterPaymasterEstimatedFees,
|
|
283
|
+
$e as findImplementationForAccount,
|
|
284
|
+
On as findTransfersAndApprovals,
|
|
285
|
+
Sm as formatAddress,
|
|
286
|
+
L as formatFullAddress,
|
|
287
287
|
O as formatTruncatedAddress,
|
|
288
|
-
|
|
288
|
+
H as formatTruncatedSignerKey,
|
|
289
289
|
M as formatTruncatedString,
|
|
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
|
-
wn as
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
290
|
+
Ys as functionAbiSchema,
|
|
291
|
+
Zs as functionAbiTypeSchema,
|
|
292
|
+
hm as generateAvatarImage,
|
|
293
|
+
ea as getAccountContractAddress,
|
|
294
|
+
aa as getAccountDeploymentPayload,
|
|
295
|
+
Un as getAccountTxVersion,
|
|
296
|
+
Be as getAddressFromArgentName,
|
|
297
|
+
we as getAddressFromStarkName,
|
|
298
|
+
W as getAddressOrEmptyUndefinedSchema,
|
|
299
|
+
U as getAddressSchema,
|
|
300
|
+
q as getAddressSchemaArgentBackend,
|
|
301
|
+
G as getAddressSchemaBase,
|
|
302
|
+
z as getAddressSchemaLooseLength,
|
|
303
|
+
K as getAddressSchemaStrictLength,
|
|
304
|
+
j as getAddressValidationSchemas,
|
|
305
|
+
oa as getArgentAccountClassHashes,
|
|
306
|
+
na as getArgentAccountClassHashesWithTxV3Support,
|
|
307
|
+
ma as getArgentAccountWithMultiSignerClassHashes,
|
|
308
|
+
He as getArgentNetwork,
|
|
309
|
+
Ba as getBackendTimeNowSeconds,
|
|
310
|
+
Ia as getBackendTimeSeconds,
|
|
311
|
+
_e as getCallFromStarkName,
|
|
312
|
+
Me as getChainIdFromNetworkId,
|
|
313
|
+
fm as getColor,
|
|
314
|
+
Tr as getCurrencySymbol,
|
|
315
|
+
Ua as getDapplandLinkForDapp,
|
|
316
|
+
qa as getDapplandUrlForDapp,
|
|
317
|
+
hn as getEstimatedFeeFromBulkSimulation,
|
|
318
|
+
fn as getEstimatedFeeFromSimulationAndRespectWatermarkFee,
|
|
319
|
+
vn as getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2,
|
|
320
|
+
_m as getInitials,
|
|
321
|
+
sa as getLastCairo0ArgentAccountClassHash,
|
|
322
|
+
ia as getLatestArgentAccountClassHash,
|
|
323
|
+
ca as getLatestArgentMultisigClassHash,
|
|
324
|
+
Sa as getLatestLedgerAccountClassHash,
|
|
325
|
+
da as getLedgerAccountClassHashes,
|
|
326
|
+
zo as getMessageFromTrpcError,
|
|
327
|
+
Nn as getNativeEstimatedFeeByFeeToken,
|
|
328
|
+
Pn as getNativeEstimatedFeeByTxVersion,
|
|
329
|
+
bn as getNativeEstimatedFeeForAccount,
|
|
330
|
+
Bn as getNativeEstimatedFees,
|
|
331
|
+
In as getNativeFeeFromSimulation,
|
|
332
|
+
wn as getNativeFeeTokenAddress,
|
|
333
|
+
um as getNetworkAccountImageUrl,
|
|
334
|
+
rt as getNftPicture,
|
|
335
|
+
un as getPayloadFromTransaction,
|
|
336
|
+
_n as getPaymasterFeeFromSimulation,
|
|
337
|
+
Mn as getPrettyRpcError,
|
|
338
|
+
Pt as getSignerForMultiSigner,
|
|
339
|
+
qn as getSimulationTxVersionFromFeeToken,
|
|
340
|
+
Ve as getStarknetIdContractAddressFromNetworkId,
|
|
341
|
+
Jt as getTokenBalance,
|
|
342
|
+
$t as getTokens,
|
|
343
|
+
er as getTokensBalances,
|
|
344
|
+
Gn as getTxVersionForDeclareContract,
|
|
345
|
+
zn as getTxVersionFromFeeToken,
|
|
346
|
+
Kn as getTxVersionFromFeeTokenForDeclareContract,
|
|
347
|
+
Tt as getUAParserResult,
|
|
348
|
+
es as getUint256CalldataFromBN,
|
|
349
|
+
X as getValidChecksumAddressSchema,
|
|
350
|
+
Y as getValidateAddressRangeSchema,
|
|
351
|
+
gn as getWatermarkedMaxFeeTotal,
|
|
352
|
+
Pm as hexSchema,
|
|
353
|
+
bm as hexSchemaBase,
|
|
354
|
+
Im as id,
|
|
355
|
+
Ze as implementationSchema,
|
|
356
|
+
Z as includesAddress,
|
|
357
|
+
Lo as inputAmountSchema,
|
|
358
|
+
_t as investmentMetaSchema,
|
|
359
|
+
Vt as investmentSchema,
|
|
360
|
+
Lt as investmentsResponseSchema,
|
|
352
361
|
p as isAccountV4,
|
|
353
362
|
l as isAccountV5,
|
|
354
363
|
h as isAccountV6,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
364
|
+
Q as isAddress,
|
|
365
|
+
Wm as isAllowedAddressHexInputValue,
|
|
366
|
+
qm as isAllowedNumericInputValue,
|
|
358
367
|
k as isArgentBackendNetworkId,
|
|
359
|
-
|
|
368
|
+
ge as isArgentName,
|
|
360
369
|
C as isArgentNetworkId,
|
|
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
|
-
|
|
370
|
+
J as isBase58Address,
|
|
371
|
+
At as isBraveBrowser,
|
|
372
|
+
kt as isBrowser,
|
|
373
|
+
Ct as isChromeBrowser,
|
|
374
|
+
bo as isCollateralizedDebtPosition,
|
|
375
|
+
Bo as isConcentratedLiquidityPosition,
|
|
376
|
+
Lm as isContractDeployed,
|
|
377
|
+
Io as isDelegatedTokens,
|
|
378
|
+
yt as isEdgeBrowser,
|
|
379
|
+
$ as isEqualAddress,
|
|
380
|
+
Ae as isEqualArgentName,
|
|
381
|
+
ta as isEqualImplementation,
|
|
382
|
+
ie as isEqualStarknetDomainName,
|
|
383
|
+
la as isEqualStarknetId,
|
|
384
|
+
An as isFRI,
|
|
385
|
+
vm as isFeatureEnabled,
|
|
386
|
+
Et as isFirefoxBrowser,
|
|
387
|
+
zm as isNumeric,
|
|
388
|
+
Dt as isSafariBrowser,
|
|
389
|
+
wo as isStaking,
|
|
390
|
+
ce as isStarknetDomainName,
|
|
391
|
+
ha as isStarknetId,
|
|
392
|
+
_o as isStrkDelegatedStaking,
|
|
393
|
+
lr as isUnlimitedAmount,
|
|
394
|
+
ee as isValidAddress,
|
|
395
|
+
Oo as isValidInputAmount,
|
|
396
|
+
xn as isWEI,
|
|
397
|
+
ae as isZeroAddress,
|
|
398
|
+
Ha as knownDappSchema,
|
|
399
|
+
Ma as knownDappsSchema,
|
|
400
|
+
Qs as legacyContractClassSchema,
|
|
401
|
+
Js as legacyEventSchema,
|
|
402
|
+
Ot as lendingInvestmentSchema,
|
|
403
|
+
Ht as liquidStakingInvestmentSchema,
|
|
404
|
+
ys as looseCalldataSchema,
|
|
405
|
+
Yt as mergeArrayStableWith,
|
|
406
|
+
Bt as mergeOwnerGuardianSignatures,
|
|
407
|
+
Zo as modifySnjsFeeOverhead,
|
|
408
|
+
Es as multiTypeSchema,
|
|
409
|
+
Tn as multiplyBigIntByFloat,
|
|
410
|
+
ja as nameProviderResolutionSchema,
|
|
411
|
+
Xa as nameResolutionAddressSchema,
|
|
412
|
+
Ya as nameResolutionAddressesSchema,
|
|
413
|
+
Za as nameResolutionStarknetIdSchema,
|
|
414
|
+
Qa as nameResolutionStarknetIdsSchema,
|
|
415
|
+
Hm as nonNullable,
|
|
416
|
+
te as normalizeAddress,
|
|
417
|
+
Se as normalizeAddressOrDomain,
|
|
418
|
+
xe as normalizeArgentName,
|
|
419
|
+
fa as normalizeStarknetId,
|
|
420
|
+
St as onchainRecoverySchema,
|
|
421
|
+
Zt as optionsWithDefaults,
|
|
422
|
+
Ho as parseAmount,
|
|
423
|
+
as as parseAmountValue,
|
|
424
|
+
rs as pluralise,
|
|
425
|
+
Pa as postData,
|
|
417
426
|
u as preferencesEndpointPayload,
|
|
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
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
427
|
+
g as preferencesSchema,
|
|
428
|
+
jm as prettifyCurrencyNumber,
|
|
429
|
+
fr as prettifyCurrencyValue,
|
|
430
|
+
Xm as prettifyNumber,
|
|
431
|
+
Ym as prettifyNumberConfig,
|
|
432
|
+
Ar as prettifyTokenAmount,
|
|
433
|
+
Zm as prettifyTokenNumber,
|
|
434
|
+
co as productGroupsSchema,
|
|
435
|
+
$s as programSchema,
|
|
436
|
+
Ja as providersNamesSchema,
|
|
437
|
+
ei as pythonicHintsSchema,
|
|
438
|
+
Ds as rawArgsArraySchema,
|
|
439
|
+
Fs as rawArgsObjectSchema,
|
|
440
|
+
Rs as rawArgsSchema,
|
|
441
|
+
ns as readFileAsString,
|
|
442
|
+
dt as recoveryBaseSchema,
|
|
443
|
+
pt as recoveryBodySchema,
|
|
444
|
+
lt as recoveryStatusSchema,
|
|
445
|
+
vs as removeOwnersCalldataSchema,
|
|
446
|
+
Ns as removePluginCalldataSchema,
|
|
447
|
+
Ps as replaceSignerCalldataSchema,
|
|
448
|
+
jt as replaceValueRecursively,
|
|
449
|
+
hi as retryUntilInitialised,
|
|
450
|
+
cs as safeParseAndWarn,
|
|
451
|
+
Rt as seedphraseSchema,
|
|
452
|
+
ai as sierraContractEntryPointFieldsSchema,
|
|
453
|
+
ti as sierraEntryPointsByTypeSchema,
|
|
454
|
+
ri as sierraProgramDebugInfoSchema,
|
|
455
|
+
Mt as stakerInfoSchema,
|
|
456
|
+
Wt as stakingActionSchema,
|
|
457
|
+
So as stakingPositionSchema,
|
|
458
|
+
po as stakingPositionsSchema,
|
|
459
|
+
Le as starkNameToCallDataDomain,
|
|
460
|
+
de as starknetDomainNameSchema,
|
|
461
|
+
ua as starknetIdSchema,
|
|
462
|
+
ht as startOnchainRecoveryErrorSchema,
|
|
463
|
+
ft as startOnchainRecoveryErrorStatusSchema,
|
|
464
|
+
ut as startOnchainRecoverySchema,
|
|
465
|
+
Ss as stringToBooleanSchema,
|
|
466
|
+
gm as stripAddressZeroPadding,
|
|
467
|
+
Ut as strkDelegatedStakingInvestmentSchema,
|
|
468
|
+
lo as strkDelegatedStakingPositionArraySchema,
|
|
469
|
+
ho as strkDelegatedStakingPositionSchema,
|
|
470
|
+
qt as strkStakingCalldataResponseSchema,
|
|
471
|
+
Gt as strkStakingCalldataSchema,
|
|
472
|
+
oi as structAbiSchema,
|
|
473
|
+
kn as toMax,
|
|
474
|
+
Cn as tokensRequireTxV3Support,
|
|
475
|
+
mm as transactionExecutionResponseSchema,
|
|
476
|
+
sm as transactionPromotionPrizeSchema,
|
|
477
|
+
im as transactionPromotionSchema,
|
|
478
|
+
an as transactionReviewTransactionsSchema,
|
|
479
|
+
Zn as transactionReviewWarningSchema,
|
|
480
|
+
bs as transferCalldataSchema,
|
|
481
|
+
Ko as trpcErrorSchema,
|
|
482
|
+
am as txVersionSchema,
|
|
483
|
+
Bs as typedDataSchema,
|
|
484
|
+
Is as uint256Schema,
|
|
485
|
+
xo as unclaimedRewardsSchema,
|
|
486
|
+
yn as unitToFeeTokenAddress,
|
|
487
|
+
ii as urlWithQuery,
|
|
488
|
+
ar as useToken,
|
|
489
|
+
re as validChecksumAddressSchema,
|
|
490
|
+
oe as validateAddressRangeSchema,
|
|
491
|
+
Si as voidify,
|
|
492
|
+
ko as webBaseTokenSchema,
|
|
493
|
+
Co as webBaseTokenWithBalanceSchema,
|
|
494
|
+
yo as webTokenInfoDetailsSchema,
|
|
495
|
+
Eo as webTokenPriceDetailsSchema,
|
|
496
|
+
Do as webTokenSchema,
|
|
497
|
+
Fo as webTokenWithBalanceAndPriceSchema,
|
|
498
|
+
Ro as webTokenWithBalanceSchema,
|
|
499
|
+
vo as webTokenWithPriceSchema,
|
|
500
|
+
No as webTokensWithBalanceAndPriceSchema
|
|
492
501
|
};
|