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