@argent/x-shared 1.38.1 → 1.39.0

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