@argent/x-shared 1.40.0 → 1.41.1

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