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