@argent/x-shared 1.74.1 → 1.75.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.
Files changed (90) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +212 -209
  3. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.js +5 -5
  4. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  5. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.js +13 -14
  6. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  7. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.js +3 -3
  8. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  9. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js +3 -3
  10. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.cjs +1 -1
  11. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js +1 -1
  12. package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.js +6 -6
  13. package/dist/src/chains/starknet/address.cjs +1 -1
  14. package/dist/src/chains/starknet/address.js +17 -17
  15. package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.js +1 -1
  16. package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.js +1 -1
  17. package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.cjs +1 -1
  18. package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.js +27 -27
  19. package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.cjs +1 -1
  20. package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.js +22 -22
  21. package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.cjs +1 -1
  22. package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.js +14 -14
  23. package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.cjs +1 -1
  24. package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.js +9 -9
  25. package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.cjs +1 -1
  26. package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.js +13 -13
  27. package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.cjs +1 -1
  28. package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.js +24 -25
  29. package/dist/src/features/simulation/activity/normalize.cjs +1 -1
  30. package/dist/src/features/simulation/activity/normalize.js +12 -13
  31. package/dist/src/features/simulation/activity/schema.cjs +1 -1
  32. package/dist/src/features/simulation/activity/schema.js +6 -6
  33. package/dist/src/features/simulation/activity/utils/createNativeActivity.cjs +1 -1
  34. package/dist/src/features/simulation/activity/utils/createNativeActivity.js +22 -24
  35. package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.cjs +1 -1
  36. package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.js +11 -12
  37. package/dist/src/features/simulation/activity/utils/hasDelegationActivity.cjs +1 -1
  38. package/dist/src/features/simulation/activity/utils/hasDelegationActivity.js +2 -8
  39. package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.cjs +1 -1
  40. package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.js +4 -8
  41. package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.cjs +1 -1
  42. package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.js +4 -8
  43. package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs +1 -1
  44. package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.js +3 -9
  45. package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.cjs +1 -1
  46. package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.js +15 -19
  47. package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.cjs +1 -1
  48. package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.js +4 -8
  49. package/dist/src/features/simulation/activity/utils/isSwapActivity.cjs +1 -1
  50. package/dist/src/features/simulation/activity/utils/isSwapActivity.js +9 -16
  51. package/dist/src/features/simulation/activity/utils/isUpgradeActivity.cjs +1 -1
  52. package/dist/src/features/simulation/activity/utils/isUpgradeActivity.js +4 -8
  53. package/dist/src/features/simulation/fees/schema.cjs +1 -1
  54. package/dist/src/features/simulation/fees/schema.d.ts +16 -0
  55. package/dist/src/features/simulation/fees/schema.js +8 -6
  56. package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs +1 -1
  57. package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.js +10 -11
  58. package/dist/src/features/simulation/transactionReview/schema.cjs +1 -1
  59. package/dist/src/features/simulation/transactionReview/schema.d.ts +23 -0
  60. package/dist/src/features/simulation/transactionReview/schema.js +21 -19
  61. package/dist/src/features/swap/services/SwapTransactionService.cjs +1 -1
  62. package/dist/src/features/swap/services/SwapTransactionService.js +46 -49
  63. package/dist/src/http/HttpService.cjs +1 -1
  64. package/dist/src/http/HttpService.js +55 -55
  65. package/dist/src/knownDapps/utils/getDapplandUrl.cjs +1 -1
  66. package/dist/src/knownDapps/utils/getDapplandUrl.js +6 -8
  67. package/dist/src/nfts/BackendNftService.cjs +1 -1
  68. package/dist/src/nfts/BackendNftService.js +18 -19
  69. package/dist/src/tokens/service/implementation.cjs +1 -1
  70. package/dist/src/tokens/service/implementation.js +12 -12
  71. package/dist/src/tokens/service/types/backend.model.js +1 -1
  72. package/dist/src/transactions/estimate/utils.cjs +1 -1
  73. package/dist/src/transactions/estimate/utils.d.ts +33 -0
  74. package/dist/src/transactions/estimate/utils.js +80 -76
  75. package/dist/src/transactions/service/implementation.cjs +1 -1
  76. package/dist/src/transactions/service/implementation.d.ts +4 -0
  77. package/dist/src/transactions/service/implementation.js +89 -96
  78. package/dist/src/transactions/service/utils.cjs +1 -1
  79. package/dist/src/transactions/service/utils.d.ts +2 -3
  80. package/dist/src/transactions/service/utils.js +12 -11
  81. package/dist/src/transactions/transactionVersion.cjs +1 -1
  82. package/dist/src/transactions/transactionVersion.d.ts +2 -0
  83. package/dist/src/transactions/transactionVersion.js +12 -10
  84. package/dist/src/utils/base58.js +5 -5
  85. package/dist/src/utils/number/abbreviateNumber.d.ts +2 -1
  86. package/dist/src/utils/readFileAsString.cjs +1 -1
  87. package/dist/src/utils/readFileAsString.js +3 -6
  88. package/package.json +23 -23
  89. package/dist/node_modules/.pnpm/@starknet-io_types-js@0.7.7/node_modules/@starknet-io/types-js/dist/esm/api/nonspec.cjs +0 -1
  90. package/dist/node_modules/.pnpm/@starknet-io_types-js@0.7.7/node_modules/@starknet-io/types-js/dist/esm/api/nonspec.js +0 -6
package/dist/index.js CHANGED
@@ -5,16 +5,16 @@ import { AddSmartAccountResponseSchema as s, AddSmartAcountRequestSchema as i, B
5
5
  import { isAccountV4 as p, isAccountV5 as h, isAccountV6 as l } from "./src/account/accountv4.js";
6
6
  import { preferencesEndpointPayload as u, preferencesSchema as A } from "./src/account/preferences.model.js";
7
7
  import { argentBackendNetworkIdSchema as x, argentNetworkIdSchema as T, isArgentBackendNetworkId as k, isArgentNetworkId as C } from "./src/backend/schema.js";
8
- import { backendSessionAllowedMethodSchema as E, backendSessionMetadataSchema as D, backendSessionSchema as v, backendSessionTxFeeSchema as P } from "./src/backend/sessionKeys/schema.js";
9
- import { CacheService as R } from "./src/cache/CacheService.js";
10
- import { addressOrEmptyUndefinedSchema as F, addressSchema as B, addressSchemaArgentBackend as I, addressSchemaBase as w, addressSchemaLooseLength as _, addressSchemaStrictLength as O, formatFullAddress as H, formatTruncatedAddress as L, formatTruncatedSignerKey as V, formatTruncatedString as M, getAddressOrEmptyUndefinedSchema as W, getAddressSchema as U, getAddressSchemaArgentBackend as G, getAddressSchemaBase as q, getAddressSchemaLooseLength as z, getAddressSchemaStrictLength as K, getAddressValidationSchemas as X, getValidChecksumAddressSchema as j, getValidateAddressRangeSchema as Y, includesAddress as Z, isAddress as Q, isBase58Address as J, isEqualAddress as $, isValidAddress as ee, isValidHexString as ae, isZeroAddress as re, normalizeAddress as te, normalizeAddressForCompare as oe, validChecksumAddressSchema as me, validateAddressRangeSchema as ne } from "./src/chains/starknet/address.js";
8
+ import { backendSessionAllowedMethodSchema as E, backendSessionMetadataSchema as D, backendSessionSchema as v, backendSessionTxFeeSchema as N } from "./src/backend/sessionKeys/schema.js";
9
+ import { CacheService as P } from "./src/cache/CacheService.js";
10
+ import { addressOrEmptyUndefinedSchema as F, addressSchema as B, addressSchemaArgentBackend as I, addressSchemaBase as _, addressSchemaLooseLength as w, addressSchemaStrictLength as O, formatFullAddress as V, formatTruncatedAddress as H, formatTruncatedSignerKey as L, formatTruncatedString as M, getAddressOrEmptyUndefinedSchema as W, getAddressSchema as U, getAddressSchemaArgentBackend as G, getAddressSchemaBase as q, getAddressSchemaLooseLength as z, getAddressSchemaStrictLength as K, getAddressValidationSchemas as X, getValidChecksumAddressSchema as j, getValidateAddressRangeSchema as Y, includesAddress as Z, isAddress as Q, isBase58Address as J, isEqualAddress as $, isValidAddress as ee, isValidHexString as ae, isZeroAddress as re, normalizeAddress as te, normalizeAddressForCompare as oe, validChecksumAddressSchema as me, validateAddressRangeSchema as ne } from "./src/chains/starknet/address.js";
11
11
  import { addressOrDomainInputSchema as ie, addressOrDomainSchema as ce, isEqualStarknetDomainName as Se, isStarknetDomainName as de, normalizeAddressOrDomain as pe, starknetDomainNameSchema as he } from "./src/chains/starknet/addressDomain.js";
12
12
  import { addressInputCharactersAndLengthSchema as fe, addressInputSchema as ue } from "./src/chains/starknet/addressInput.js";
13
13
  import { argentNameSchema as ge, isArgentName as xe, isEqualArgentName as Te, normalizeArgentName as ke } from "./src/chains/starknet/argentName.js";
14
14
  import { cairoVersionSchema as ye } from "./src/chains/starknet/cairoVersionSchema.js";
15
- import { ETH_TOKEN_ADDRESS as De, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as ve, STRK_TOKEN_ADDRESS as Pe, TXV1_ACCOUNT_CLASS_HASH as Ne, TXV1_MULTISIG_CLASS_HASH as Re, TXV3_ACCOUNT_CLASS_HASH as be, TXV3_MULTISIG_CLASS_HASH as Fe } from "./src/chains/starknet/constants.js";
16
- import { apiWalletResponseSchema as Ie, getAddressFromArgentName as we } from "./src/chains/starknet/getAddressFromArgentName.js";
17
- import { getAddressFromStarkName as Oe, getCallFromStarkName as He, getStarknetIdContractAddressFromNetworkId as Le, starkNameToCallDataDomain as Ve } from "./src/chains/starknet/getAddressFromStarkName.js";
15
+ import { ETH_TOKEN_ADDRESS as De, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as ve, STRK_TOKEN_ADDRESS as Ne, TXV1_ACCOUNT_CLASS_HASH as Re, TXV1_MULTISIG_CLASS_HASH as Pe, TXV3_ACCOUNT_CLASS_HASH as be, TXV3_MULTISIG_CLASS_HASH as Fe } from "./src/chains/starknet/constants.js";
16
+ import { apiWalletResponseSchema as Ie, getAddressFromArgentName as _e } from "./src/chains/starknet/getAddressFromArgentName.js";
17
+ import { getAddressFromStarkName as Oe, getCallFromStarkName as Ve, getStarknetIdContractAddressFromNetworkId as He, starkNameToCallDataDomain as Le } from "./src/chains/starknet/getAddressFromStarkName.js";
18
18
  import { getArgentNetwork as We, getChainIdFromNetworkId as Ue } from "./src/chains/starknet/network.js";
19
19
  import { StarknetAddressService as qe } from "./src/chains/starknet/services/address/StarknetAddressService.js";
20
20
  import { ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES as Ke, ARGENT_MULTISIG_CONTRACT_CLASS_HASHES as Xe, C0_PROXY_CONTRACT_CLASS_HASHES as je } from "./src/chains/starknet/services/deploymentData/constants.js";
@@ -25,11 +25,11 @@ import { isEqualStarknetId as ua, isStarknetId as Aa, normalizeStarknetId as ga,
25
25
  import { DateService as ka } from "./src/http/DateService.js";
26
26
  import { HttpError as ya } from "./src/http/HttpError.js";
27
27
  import { HTTPService as Da } from "./src/http/HttpService.js";
28
- import { HTTP_ERROR_MESSAGE as Pa } from "./src/http/IHttpService.js";
29
- import { SWRService as Ra } from "./src/http/SWRService.js";
28
+ import { HTTP_ERROR_MESSAGE as Na } from "./src/http/IHttpService.js";
29
+ import { SWRService as Pa } from "./src/http/SWRService.js";
30
30
  import { fetchData as Fa, fetcherError as Ba, postData as Ia } from "./src/http/fetcher.js";
31
- import { getBackendTimeNowSeconds as _a, getBackendTimeSeconds as Oa } from "./src/http/time.js";
32
- import { KnownDappsBackendService as La } from "./src/knownDapps/KnownDappsBackendService.js";
31
+ import { getBackendTimeNowSeconds as wa, getBackendTimeSeconds as Oa } from "./src/http/time.js";
32
+ import { KnownDappsBackendService as Ha } from "./src/knownDapps/KnownDappsBackendService.js";
33
33
  import { dappContractSchema as Ma, dappLinkSchema as Wa, knownDappSchema as Ua, knownDappsSchema as Ga } from "./src/knownDapps/schema.js";
34
34
  import { getDapplandLinkForDapp as za, getDapplandUrlForDapp as Ka } from "./src/knownDapps/utils/getDapplandUrl.js";
35
35
  import { ResolveNameService as ja } from "./src/nameResolution/ResolveNameService.js";
@@ -39,11 +39,11 @@ import { equalNft as mr, getNftPicture as nr } from "./src/nfts/utils.js";
39
39
  import { OnchainRecoveryService as ir } from "./src/onchainRecovery/OnchainRecoveryService.js";
40
40
  import { RecoveryStatusEnum as Sr, StartOnchainRecoveryErrorStatusEnum as dr, activeOnchainRecoverySchema as pr, onchainRecoverySchema as hr, recoveryBaseSchema as lr, recoveryBodySchema as fr, recoveryStatusSchema as ur, startOnchainRecoveryErrorSchema as Ar, startOnchainRecoveryErrorStatusSchema as gr, startOnchainRecoverySchema as xr } from "./src/onchainRecovery/schema.js";
41
41
  import { isBraveBrowser as kr } from "./src/platform/isBraveBrowser.js";
42
- import { getUAParserResult as yr, isBrowser as Er, isChromeBrowser as Dr, isEdgeBrowser as vr, isFirefoxBrowser as Pr, isSafariBrowser as Nr } from "./src/platform/isBrowser.js";
42
+ import { getUAParserResult as yr, isBrowser as Er, isChromeBrowser as Dr, isEdgeBrowser as vr, isFirefoxBrowser as Nr, isSafariBrowser as Rr } from "./src/platform/isBrowser.js";
43
43
  import { seedphraseSchema as br } from "./src/signer/seedphrase.js";
44
44
  import { MultiSigner as Br, getSignerForMultiSigner as Ir } from "./src/signer/multisigner.js";
45
- import { mergeOwnerGuardianSignatures as _r } from "./src/signer/mergeOwnerGuardianSignatures.js";
46
- import { buildSellOptsSchema as Hr, investmentMetaSchema as Lr, investmentSchema as Vr, investmentsResponseSchema as Mr, lendingInvestmentSchema as Wr, liquidStakingInvestmentSchema as Ur, stakerInfoSchema as Gr, stakingActionSchema as qr, strkDelegatedStakingInvestmentSchema as zr, strkStakingCalldataResponseSchema as Kr, strkStakingCalldataSchema as Xr } from "./src/staking/schema.js";
45
+ import { mergeOwnerGuardianSignatures as wr } from "./src/signer/mergeOwnerGuardianSignatures.js";
46
+ import { buildSellOptsSchema as Vr, investmentMetaSchema as Hr, investmentSchema as Lr, investmentsResponseSchema as Mr, lendingInvestmentSchema as Wr, liquidStakingInvestmentSchema as Ur, stakerInfoSchema as Gr, stakingActionSchema as qr, strkDelegatedStakingInvestmentSchema as zr, strkStakingCalldataResponseSchema as Kr, strkStakingCalldataSchema as Xr } from "./src/staking/schema.js";
47
47
  import { containsValue as Yr, replaceValueRecursively as Zr } from "./src/storage/utils.js";
48
48
  import { mergeArrayStableWith as Jr, optionsWithDefaults as $r } from "./src/storage/base.js";
49
49
  import { getTokenBalance as at, getTokens as rt, getTokensBalances as tt, useToken as ot } from "./src/tokens/balances.js";
@@ -57,59 +57,59 @@ import { prettifyCurrencyValue as gt } from "./src/tokens/prettifyCurrencyValue.
57
57
  import { PRETTY_UNLIMITED as Tt, prettifyTokenAmount as kt } from "./src/tokens/prettifyTokenAmount.js";
58
58
  import { getCurrencySymbol as yt } from "./src/tokens/getCurrencySymbol.js";
59
59
  import { TokenServiceWeb as Dt } from "./src/tokens/service/implementation.js";
60
- import { TOKEN_ERROR_MESSAGES as Pt, TokenError as Nt } from "./src/tokens/service/tokenError.js";
61
- import { apiAccountTokenBalancesSchema as bt, apiAirdropSchema as Ft, apiCollateralizedDebtPositionSchema as Bt, apiCollateralizedDebtPositionsSchema as It, apiConcentratedLiquidityPositionSchema as wt, apiConcentratedLiquidityPositionsSchema as _t, apiDefiDecompositionProduct as Ot, apiDefiDecompositionProducts as Ht, apiDefiDecompositionSchema as Lt, apiDefiDecompositionToken as Vt, apiDefiPositionSchema as Mt, apiDefiPositionsSchema as Wt, apiDelegatedTokensArraySchema as Ut, apiDelegatedTokensSchema as Gt, apiPriceDataResponseSchema as qt, apiPriceDetailsSchema as zt, apiStakingPositionSchema as Kt, apiStakingPositionsSchema as Xt, apiStrkDelegatedStakingPositionsSchema as jt, apiStrkDelegatedStakingSchema as Yt, apiTokenInfoResponseSchema as Zt, apiTokenInfoSchema as Qt, apiTokensInfoResponseSchema as Jt, apiUnclaimedRewardsSchema as $t } from "./src/tokens/service/types/backend.model.js";
60
+ import { TOKEN_ERROR_MESSAGES as Nt, TokenError as Rt } from "./src/tokens/service/tokenError.js";
61
+ import { apiAccountTokenBalancesSchema as bt, apiAirdropSchema as Ft, apiCollateralizedDebtPositionSchema as Bt, apiCollateralizedDebtPositionsSchema as It, apiConcentratedLiquidityPositionSchema as _t, apiConcentratedLiquidityPositionsSchema as wt, apiDefiDecompositionProduct as Ot, apiDefiDecompositionProducts as Vt, apiDefiDecompositionSchema as Ht, apiDefiDecompositionToken as Lt, apiDefiPositionSchema as Mt, apiDefiPositionsSchema as Wt, apiDelegatedTokensArraySchema as Ut, apiDelegatedTokensSchema as Gt, apiPriceDataResponseSchema as qt, apiPriceDetailsSchema as zt, apiStakingPositionSchema as Kt, apiStakingPositionsSchema as Xt, apiStrkDelegatedStakingPositionsSchema as jt, apiStrkDelegatedStakingSchema as Yt, apiTokenInfoResponseSchema as Zt, apiTokenInfoSchema as Qt, apiTokensInfoResponseSchema as Jt, apiUnclaimedRewardsSchema as $t } from "./src/tokens/service/types/backend.model.js";
62
62
  import { collateralizedDebtGroupSchema as ao, collateralizedDebtPositionSchema as ro, collateralizedDebtPositionsSchema as to, concentratedLiquidityPositionSchema as oo, concentratedLiquidityPositionsSchema as mo, defiDappsProductsSchema as no, defiPositionSchema as so, defiProductSchema as io, defiProductsSchema as co, delegatedTokensArraySchema as So, delegatedTokensSchema as po, productGroupsSchema as ho, stakingPositionSchema as lo, stakingPositionsSchema as fo, strkDelegatedStakingPositionArraySchema as uo, strkDelegatedStakingPositionSchema as Ao } from "./src/tokens/service/types/defiPosition.model.js";
63
63
  import { defiPositionTypeSchema as xo } from "./src/tokens/service/types/defiPositionType.model.js";
64
64
  import { airdropSchema as ko, unclaimedRewardsSchema as Co } from "./src/tokens/service/types/unclaimedRewards.model.js";
65
- import { webBaseTokenSchema as Eo, webBaseTokenWithBalanceSchema as Do, webTokenInfoDetailsSchema as vo, webTokenPriceDetailsSchema as Po, webTokenSchema as No, webTokenWithBalanceAndPriceSchema as Ro, webTokenWithBalanceSchema as bo, webTokenWithPriceSchema as Fo, webTokensWithBalanceAndPriceSchema as Bo } from "./src/tokens/service/types/webToken.model.js";
66
- import { isCollateralizedDebtPosition as wo, isConcentratedLiquidityPosition as _o, isDelegatedTokens as Oo, isStaking as Ho, isStrkDelegatedStaking as Lo } from "./src/tokens/utils.js";
65
+ import { webBaseTokenSchema as Eo, webBaseTokenWithBalanceSchema as Do, webTokenInfoDetailsSchema as vo, webTokenPriceDetailsSchema as No, webTokenSchema as Ro, webTokenWithBalanceAndPriceSchema as Po, webTokenWithBalanceSchema as bo, webTokenWithPriceSchema as Fo, webTokensWithBalanceAndPriceSchema as Bo } from "./src/tokens/service/types/webToken.model.js";
66
+ import { isCollateralizedDebtPosition as _o, isConcentratedLiquidityPosition as wo, isDelegatedTokens as Oo, isStaking as Vo, isStrkDelegatedStaking as Ho } from "./src/tokens/utils.js";
67
67
  import { inputAmountSchema as Mo, isValidInputAmount as Wo, parseAmount as Uo } from "./src/transactions/amount.js";
68
68
  import { erc20TransferTransaction as qo, erc721SafeTransferFromTransaction as zo, erc721TransferFromTransaction as Ko } from "./src/transactions/buildTransactions.js";
69
69
  import { getMessageFromTrpcError as jo, trpcErrorSchema as Yo } from "./src/transactions/errors.js";
70
70
  import { FEE_OVERHEAD as Qo, argentMaxFee as Jo, modifySnjsFeeOverhead as $o } from "./src/transactions/estimate/argentMaxFee.js";
71
71
  import { ESTIMATE_ERROR_MESSAGES as am, EstimateError as rm } from "./src/transactions/estimate/error.js";
72
72
  import { transactionReviewTransactionsSchema as om } from "./src/transactions/estimate/model.js";
73
- import { estimatedFeeToMaxFeeTotal as nm, estimatedFeeToMaxResourceBounds as sm, estimatedFeeToTotal as im, estimatedFeesToMaxFeeTotalV2 as cm, estimatedFeesToTotal as Sm, estimatedFeesToTotalWithOverallFee as dm, filterPaymasterEstimatedFees as pm, getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2 as hm, getNativeEstimatedFeeByFeeToken as lm, getNativeEstimatedFeeByTxVersion as fm, getNativeEstimatedFeeForAccount as um, getNativeEstimatedFees as Am, getNativeFeeFromSimulation as gm, getNativeFeeTokenAddress as xm, getPaymasterFeeFromSimulation as Tm, toMaxFeeEstimation as km } from "./src/transactions/estimate/utils.js";
74
- import { EventsBySelector as ym, findTransfersAndApprovals as Em } from "./src/transactions/findTransfersAndApprovals.js";
75
- import { getPrettyRpcError as vm } from "./src/transactions/getPrettyRcpError.js";
76
- import { TransactionReviewServiceWeb as Nm } from "./src/transactions/service/implementation.js";
77
- import { transactionReviewWarningSchema as bm } from "./src/transactions/service/types.js";
78
- import { getPayloadFromTransaction as Bm } from "./src/transactions/service/utils.js";
73
+ import { estimatedFeeToMaxFeeTotal as nm, estimatedFeeToMaxResourceBounds as sm, estimatedFeeToMaxResourceBoundsBN as im, estimatedFeeToTotal as cm, estimatedFeesToMaxFeeTotalV2 as Sm, estimatedFeesToTotal as dm, estimatedFeesToTotalWithOverallFee as pm, filterPaymasterEstimatedFees as hm, getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2 as lm, getNativeEstimatedFeeByFeeToken as fm, getNativeEstimatedFeeByTxVersion as um, getNativeEstimatedFeeForAccount as Am, getNativeEstimatedFees as gm, getNativeFeeFromSimulation as xm, getNativeFeeTokenAddress as Tm, getPaymasterFeeFromSimulation as km, toMaxFeeEstimation as Cm } from "./src/transactions/estimate/utils.js";
74
+ import { EventsBySelector as Em, findTransfersAndApprovals as Dm } from "./src/transactions/findTransfersAndApprovals.js";
75
+ import { getPrettyRpcError as Nm } from "./src/transactions/getPrettyRcpError.js";
76
+ import { TransactionReviewServiceWeb as Pm } from "./src/transactions/service/implementation.js";
77
+ import { transactionReviewWarningSchema as Fm } from "./src/transactions/service/types.js";
78
+ import { getPayloadFromTransaction as Im } from "./src/transactions/service/utils.js";
79
79
  import { apiTransactionReviewActivityType as wm } from "./src/transactions/transactionReviewTypes.js";
80
- import { txVersionSchema as Om } from "./src/transactions/transactionVersion.js";
81
- import { classHashSupportsTxV3 as Lm, feeTokenNeedsTxV3Support as Vm } from "./src/transactions/txv3.js";
82
- import { transactionExecutionResponseSchema as Wm, transactionPromotionPrizeSchema as Um, transactionPromotionSchema as Gm } from "./src/transactions/transactionExecuteTypes.js";
83
- import { formatAddress as zm } from "./src/utils/address.js";
84
- import { ensureArray as Xm } from "./src/utils/arrays.js";
85
- import { generateAvatarImage as Ym, getColor as Zm, getNetworkAccountImageUrl as Qm, stripAddressZeroPadding as Jm } from "./src/utils/avatarImage.js";
86
- import { decodeBase58 as en, decodeBase58Array as an, encodeBase58 as rn, encodeBase58Array as tn } from "./src/utils/base58.js";
87
- import { bigNumberSchema as mn } from "./src/utils/bigNumber.js";
88
- import { daysBetween as sn } from "./src/utils/daysBetween.js";
89
- import { isFeatureEnabled as Sn } from "./src/utils/env.js";
90
- import { hexSchema as pn, hexSchemaBase as hn } from "./src/utils/hex.js";
91
- import { id as fn } from "./src/utils/id.js";
92
- import { getInitials as An } from "./src/utils/initials.js";
93
- import { isContractDeployed as xn } from "./src/utils/isContractDeployed.js";
94
- import { nonNullable as kn } from "./src/utils/nonNullable.js";
95
- import { isAllowedAddressHexInputValue as yn } from "./src/utils/number/isAllowedAddressHexInputValue.js";
96
- import { isAllowedNumericInputValue as Dn } from "./src/utils/number/isAllowedNumericInputValue.js";
97
- import { isNumeric as Pn } from "./src/utils/number/isNumeric.js";
98
- import { prettifyCurrencyNumber as Rn, prettifyNumber as bn, prettifyNumberConfig as Fn, prettifyTokenNumber as Bn } from "./src/utils/number/prettifyNumber.js";
99
- import { abbreviateNumber as wn } from "./src/utils/number/abbreviateNumber.js";
100
- import { getUint256CalldataFromBN as On, parseAmountValue as Hn } from "./src/utils/parseAmount.js";
101
- import { pluralise as Vn } from "./src/utils/pluralise.js";
102
- import { readFileAsString as Wn } from "./src/utils/readFileAsString.js";
103
- import { booleanToStringSchema as Gn, createSchemaWithWarnings as qn, safeParseAndWarn as zn, stringToBooleanSchema as Kn } from "./src/utils/schemas.js";
104
- import { addOwnersCalldataSchema as jn, addPluginCalldataSchema as Yn, bigNumberishSchema as Zn, callDetailsSchema as Qn, callSchema as Jn, calldataSchema as $n, changeGuardianCalldataSchema as es, changeThresholdCalldataSchema as as, escapeGuardianCalldataSchema as rs, executeOnPluginCalldataSchema as ts, feltSchema as os, looseCalldataSchema as ms, multiTypeSchema as ns, rawArgsArraySchema as ss, rawArgsObjectSchema as is, rawArgsSchema as cs, removeOwnersCalldataSchema as Ss, removePluginCalldataSchema as ds, replaceSignerCalldataSchema as ps, transferCalldataSchema as hs, typedDataSchema as ls, uint256Schema as fs } from "./src/utils/starknet/starknet.js";
105
- import { abiEntrySchema as As, abiSchema as gs, builtinsSchema as xs, byteCodeSchema as Ts, cairo1EventSchema as ks, cairoAssemblySchema as Cs, compiledContractClassSchema as ys, compiledSierraCasmSchema as Es, compiledSierraSchema as Ds, compressedProgramSchema as vs, contractEntryPointFieldsSchema as Ps, entryPointsByTypeSchema as Ns, eventAbiSchema as Rs, eventEntrySchema as bs, functionAbiSchema as Fs, functionAbiTypeSchema as Bs, legacyContractClassSchema as Is, legacyEventSchema as ws, programSchema as _s, pythonicHintsSchema as Os, sierraContractEntryPointFieldsSchema as Hs, sierraEntryPointsByTypeSchema as Ls, sierraProgramDebugInfoSchema as Vs, structAbiSchema as Ms } from "./src/utils/starknet/starknetSchemas.js";
106
- import { entryPointToHumanReadable as Us } from "./src/utils/transactions.js";
107
- import { urlWithQuery as qs } from "./src/utils/url/urlWithQuery.js";
108
- import { voidify as Ks } from "./src/utils/voidify.js";
109
- import { bipsToPercent as js } from "./src/utils/bips.js";
110
- import { retryUntilInitialised as Zs } from "./src/utils/retryUntilInitialised.js";
111
- import { CurrencyFetchService as Js } from "./src/currencyFetchService/CurrencyFetchService.js";
112
- import { currenciesDetailsSchema as ei, currencyDetailsSchema as ai } from "./src/currencyFetchService/types.ts.js";
80
+ import { FEE_TX_VERSION as Vm, TX_VERSION as Hm, txVersionSchema as Lm } from "./src/transactions/transactionVersion.js";
81
+ import { classHashSupportsTxV3 as Wm, feeTokenNeedsTxV3Support as Um } from "./src/transactions/txv3.js";
82
+ import { transactionExecutionResponseSchema as qm, transactionPromotionPrizeSchema as zm, transactionPromotionSchema as Km } from "./src/transactions/transactionExecuteTypes.js";
83
+ import { formatAddress as jm } from "./src/utils/address.js";
84
+ import { ensureArray as Zm } from "./src/utils/arrays.js";
85
+ import { generateAvatarImage as Jm, getColor as $m, getNetworkAccountImageUrl as en, stripAddressZeroPadding as an } from "./src/utils/avatarImage.js";
86
+ import { decodeBase58 as tn, decodeBase58Array as on, encodeBase58 as mn, encodeBase58Array as nn } from "./src/utils/base58.js";
87
+ import { bigNumberSchema as cn } from "./src/utils/bigNumber.js";
88
+ import { daysBetween as dn } from "./src/utils/daysBetween.js";
89
+ import { isFeatureEnabled as hn } from "./src/utils/env.js";
90
+ import { hexSchema as fn, hexSchemaBase as un } from "./src/utils/hex.js";
91
+ import { id as gn } from "./src/utils/id.js";
92
+ import { getInitials as Tn } from "./src/utils/initials.js";
93
+ import { isContractDeployed as Cn } from "./src/utils/isContractDeployed.js";
94
+ import { nonNullable as En } from "./src/utils/nonNullable.js";
95
+ import { isAllowedAddressHexInputValue as vn } from "./src/utils/number/isAllowedAddressHexInputValue.js";
96
+ import { isAllowedNumericInputValue as Rn } from "./src/utils/number/isAllowedNumericInputValue.js";
97
+ import { isNumeric as bn } from "./src/utils/number/isNumeric.js";
98
+ import { prettifyCurrencyNumber as Bn, prettifyNumber as In, prettifyNumberConfig as _n, prettifyTokenNumber as wn } from "./src/utils/number/prettifyNumber.js";
99
+ import { abbreviateNumber as Vn } from "./src/utils/number/abbreviateNumber.js";
100
+ import { getUint256CalldataFromBN as Ln, parseAmountValue as Mn } from "./src/utils/parseAmount.js";
101
+ import { pluralise as Un } from "./src/utils/pluralise.js";
102
+ import { readFileAsString as qn } from "./src/utils/readFileAsString.js";
103
+ import { booleanToStringSchema as Kn, createSchemaWithWarnings as Xn, safeParseAndWarn as jn, stringToBooleanSchema as Yn } from "./src/utils/schemas.js";
104
+ import { addOwnersCalldataSchema as Qn, addPluginCalldataSchema as Jn, bigNumberishSchema as $n, callDetailsSchema as es, callSchema as as, calldataSchema as rs, changeGuardianCalldataSchema as ts, changeThresholdCalldataSchema as os, escapeGuardianCalldataSchema as ms, executeOnPluginCalldataSchema as ns, feltSchema as ss, looseCalldataSchema as is, multiTypeSchema as cs, rawArgsArraySchema as Ss, rawArgsObjectSchema as ds, rawArgsSchema as ps, removeOwnersCalldataSchema as hs, removePluginCalldataSchema as ls, replaceSignerCalldataSchema as fs, transferCalldataSchema as us, typedDataSchema as As, uint256Schema as gs } from "./src/utils/starknet/starknet.js";
105
+ import { abiEntrySchema as Ts, abiSchema as ks, builtinsSchema as Cs, byteCodeSchema as ys, cairo1EventSchema as Es, cairoAssemblySchema as Ds, compiledContractClassSchema as vs, compiledSierraCasmSchema as Ns, compiledSierraSchema as Rs, compressedProgramSchema as Ps, contractEntryPointFieldsSchema as bs, entryPointsByTypeSchema as Fs, eventAbiSchema as Bs, eventEntrySchema as Is, functionAbiSchema as _s, functionAbiTypeSchema as ws, legacyContractClassSchema as Os, legacyEventSchema as Vs, programSchema as Hs, pythonicHintsSchema as Ls, sierraContractEntryPointFieldsSchema as Ms, sierraEntryPointsByTypeSchema as Ws, sierraProgramDebugInfoSchema as Us, structAbiSchema as Gs } from "./src/utils/starknet/starknetSchemas.js";
106
+ import { entryPointToHumanReadable as zs } from "./src/utils/transactions.js";
107
+ import { urlWithQuery as Xs } from "./src/utils/url/urlWithQuery.js";
108
+ import { voidify as Ys } from "./src/utils/voidify.js";
109
+ import { bipsToPercent as Qs } from "./src/utils/bips.js";
110
+ import { retryUntilInitialised as $s } from "./src/utils/retryUntilInitialised.js";
111
+ import { CurrencyFetchService as ai } from "./src/currencyFetchService/CurrencyFetchService.js";
112
+ import { currenciesDetailsSchema as ti, currencyDetailsSchema as oi } from "./src/currencyFetchService/types.ts.js";
113
113
  export {
114
114
  Ke as ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES,
115
115
  Xe as ARGENT_MULTISIG_CONTRACT_CLASS_HASHES,
@@ -120,43 +120,45 @@ export {
120
120
  tr as BackendNftService,
121
121
  t as BaseError,
122
122
  je as C0_PROXY_CONTRACT_CLASS_HASHES,
123
- R as CacheService,
124
- Js as CurrencyFetchService,
123
+ P as CacheService,
124
+ ai as CurrencyFetchService,
125
125
  nt as DEFAULT_TOKEN_DECIMALS,
126
126
  ka as DateService,
127
127
  am as ESTIMATE_ERROR_MESSAGES,
128
128
  De as ETH_TOKEN_ADDRESS,
129
129
  rm as EstimateError,
130
- ym as EventsBySelector,
130
+ Em as EventsBySelector,
131
131
  Qo as FEE_OVERHEAD,
132
+ Vm as FEE_TX_VERSION,
132
133
  Da as HTTPService,
133
- Pa as HTTP_ERROR_MESSAGE,
134
+ Na as HTTP_ERROR_MESSAGE,
134
135
  ya as HttpError,
135
- La as KnownDappsBackendService,
136
+ Ha as KnownDappsBackendService,
136
137
  Br as MultiSigner,
137
138
  ir as OnchainRecoveryService,
138
139
  Tt as PRETTY_UNLIMITED,
139
140
  Sr as RecoveryStatusEnum,
140
141
  ja as ResolveNameService,
141
142
  ve as STANDARD_DEVNET_ACCOUNT_CLASS_HASH,
142
- Pe as STRK_TOKEN_ADDRESS,
143
- Ra as SWRService,
143
+ Ne as STRK_TOKEN_ADDRESS,
144
+ Pa as SWRService,
144
145
  qe as StarknetAddressService,
145
146
  dr as StartOnchainRecoveryErrorStatusEnum,
146
- Pt as TOKEN_ERROR_MESSAGES,
147
- Ne as TXV1_ACCOUNT_CLASS_HASH,
148
- Re as TXV1_MULTISIG_CLASS_HASH,
147
+ Nt as TOKEN_ERROR_MESSAGES,
148
+ Re as TXV1_ACCOUNT_CLASS_HASH,
149
+ Pe as TXV1_MULTISIG_CLASS_HASH,
149
150
  be as TXV3_ACCOUNT_CLASS_HASH,
150
151
  Fe as TXV3_MULTISIG_CLASS_HASH,
151
- Nt as TokenError,
152
+ Hm as TX_VERSION,
153
+ Rt as TokenError,
152
154
  Dt as TokenServiceWeb,
153
- Nm as TransactionReviewServiceWeb,
154
- wn as abbreviateNumber,
155
- As as abiEntrySchema,
156
- gs as abiSchema,
155
+ Pm as TransactionReviewServiceWeb,
156
+ Vn as abbreviateNumber,
157
+ Ts as abiEntrySchema,
158
+ ks as abiSchema,
157
159
  pr as activeOnchainRecoverySchema,
158
- jn as addOwnersCalldataSchema,
159
- Yn as addPluginCalldataSchema,
160
+ Qn as addOwnersCalldataSchema,
161
+ Jn as addPluginCalldataSchema,
160
162
  fe as addressInputCharactersAndLengthSchema,
161
163
  ue as addressInputSchema,
162
164
  ie as addressOrDomainInputSchema,
@@ -164,20 +166,20 @@ export {
164
166
  F as addressOrEmptyUndefinedSchema,
165
167
  B as addressSchema,
166
168
  I as addressSchemaArgentBackend,
167
- w as addressSchemaBase,
168
- _ as addressSchemaLooseLength,
169
+ _ as addressSchemaBase,
170
+ w as addressSchemaLooseLength,
169
171
  O as addressSchemaStrictLength,
170
172
  ko as airdropSchema,
171
173
  bt as apiAccountTokenBalancesSchema,
172
174
  Ft as apiAirdropSchema,
173
175
  Bt as apiCollateralizedDebtPositionSchema,
174
176
  It as apiCollateralizedDebtPositionsSchema,
175
- wt as apiConcentratedLiquidityPositionSchema,
176
- _t as apiConcentratedLiquidityPositionsSchema,
177
+ _t as apiConcentratedLiquidityPositionSchema,
178
+ wt as apiConcentratedLiquidityPositionsSchema,
177
179
  Ot as apiDefiDecompositionProduct,
178
- Ht as apiDefiDecompositionProducts,
179
- Lt as apiDefiDecompositionSchema,
180
- Vt as apiDefiDecompositionToken,
180
+ Vt as apiDefiDecompositionProducts,
181
+ Ht as apiDefiDecompositionSchema,
182
+ Lt as apiDefiDecompositionToken,
181
183
  Mt as apiDefiPositionSchema,
182
184
  Wt as apiDefiPositionsSchema,
183
185
  Ut as apiDelegatedTokensArraySchema,
@@ -201,50 +203,50 @@ export {
201
203
  E as backendSessionAllowedMethodSchema,
202
204
  D as backendSessionMetadataSchema,
203
205
  v as backendSessionSchema,
204
- P as backendSessionTxFeeSchema,
206
+ N as backendSessionTxFeeSchema,
205
207
  S as baseWalletAccountSchema,
206
208
  e as bigDecimal,
207
- mn as bigNumberSchema,
208
- Zn as bigNumberishSchema,
209
- js as bipsToPercent,
210
- Gn as booleanToStringSchema,
209
+ cn as bigNumberSchema,
210
+ $n as bigNumberishSchema,
211
+ Qs as bipsToPercent,
212
+ Kn as booleanToStringSchema,
211
213
  ea as buildConstructorCalldata,
212
- Hr as buildSellOptsSchema,
213
- xs as builtinsSchema,
214
- Ts as byteCodeSchema,
215
- ks as cairo1EventSchema,
216
- Cs as cairoAssemblySchema,
214
+ Vr as buildSellOptsSchema,
215
+ Cs as builtinsSchema,
216
+ ys as byteCodeSchema,
217
+ Es as cairo1EventSchema,
218
+ Ds as cairoAssemblySchema,
217
219
  ye as cairoVersionSchema,
218
- Qn as callDetailsSchema,
219
- Jn as callSchema,
220
- $n as calldataSchema,
221
- es as changeGuardianCalldataSchema,
222
- as as changeThresholdCalldataSchema,
223
- Lm as classHashSupportsTxV3,
220
+ es as callDetailsSchema,
221
+ as as callSchema,
222
+ rs as calldataSchema,
223
+ ts as changeGuardianCalldataSchema,
224
+ os as changeThresholdCalldataSchema,
225
+ Wm as classHashSupportsTxV3,
224
226
  ao as collateralizedDebtGroupSchema,
225
227
  ro as collateralizedDebtPositionSchema,
226
228
  to as collateralizedDebtPositionsSchema,
227
- ys as compiledContractClassSchema,
228
- Es as compiledSierraCasmSchema,
229
- Ds as compiledSierraSchema,
230
- vs as compressedProgramSchema,
229
+ vs as compiledContractClassSchema,
230
+ Ns as compiledSierraCasmSchema,
231
+ Rs as compiledSierraSchema,
232
+ Ps as compressedProgramSchema,
231
233
  oo as concentratedLiquidityPositionSchema,
232
234
  mo as concentratedLiquidityPositionsSchema,
233
235
  Ze as constructorCallDataSchemaC0,
234
236
  Qe as constructorCallDataSchemaC1V1,
235
237
  Yr as containsValue,
236
- Ps as contractEntryPointFieldsSchema,
238
+ bs as contractEntryPointFieldsSchema,
237
239
  it as convertCurrencyValueToTokenAmount,
238
240
  St as convertTokenAmountToCurrencyValue,
239
241
  pt as convertTokenUnitAmountWithDecimals,
240
- qn as createSchemaWithWarnings,
241
- ei as currenciesDetailsSchema,
242
- ai as currencyDetailsSchema,
242
+ Xn as createSchemaWithWarnings,
243
+ ti as currenciesDetailsSchema,
244
+ oi as currencyDetailsSchema,
243
245
  Ma as dappContractSchema,
244
246
  Wa as dappLinkSchema,
245
- sn as daysBetween,
246
- en as decodeBase58,
247
- an as decodeBase58Array,
247
+ dn as daysBetween,
248
+ tn as decodeBase58,
249
+ on as decodeBase58Array,
248
250
  no as defiDappsProductsSchema,
249
251
  so as defiPositionSchema,
250
252
  xo as defiPositionTypeSchema,
@@ -252,45 +254,46 @@ export {
252
254
  co as defiProductsSchema,
253
255
  So as delegatedTokensArraySchema,
254
256
  po as delegatedTokensSchema,
255
- rn as encodeBase58,
256
- tn as encodeBase58Array,
257
- Xm as ensureArray,
257
+ mn as encodeBase58,
258
+ nn as encodeBase58Array,
259
+ Zm as ensureArray,
258
260
  lt as ensureDecimals,
259
- Us as entryPointToHumanReadable,
260
- Ns as entryPointsByTypeSchema,
261
+ zs as entryPointToHumanReadable,
262
+ Fs as entryPointsByTypeSchema,
261
263
  mr as equalNft,
262
264
  qo as erc20TransferTransaction,
263
265
  zo as erc721SafeTransferFromTransaction,
264
266
  Ko as erc721TransferFromTransaction,
265
- rs as escapeGuardianCalldataSchema,
267
+ ms as escapeGuardianCalldataSchema,
266
268
  nm as estimatedFeeToMaxFeeTotal,
267
269
  sm as estimatedFeeToMaxResourceBounds,
268
- im as estimatedFeeToTotal,
269
- cm as estimatedFeesToMaxFeeTotalV2,
270
- Sm as estimatedFeesToTotal,
271
- dm as estimatedFeesToTotalWithOverallFee,
272
- Rs as eventAbiSchema,
273
- bs as eventEntrySchema,
274
- ts as executeOnPluginCalldataSchema,
275
- Vm as feeTokenNeedsTxV3Support,
276
- os as feltSchema,
270
+ im as estimatedFeeToMaxResourceBoundsBN,
271
+ cm as estimatedFeeToTotal,
272
+ Sm as estimatedFeesToMaxFeeTotalV2,
273
+ dm as estimatedFeesToTotal,
274
+ pm as estimatedFeesToTotalWithOverallFee,
275
+ Bs as eventAbiSchema,
276
+ Is as eventEntrySchema,
277
+ ns as executeOnPluginCalldataSchema,
278
+ Um as feeTokenNeedsTxV3Support,
279
+ ss as feltSchema,
277
280
  Fa as fetchData,
278
281
  Ba as fetcherError,
279
- pm as filterPaymasterEstimatedFees,
282
+ hm as filterPaymasterEstimatedFees,
280
283
  aa as findImplementationForAccount,
281
- Em as findTransfersAndApprovals,
282
- zm as formatAddress,
283
- H as formatFullAddress,
284
- L as formatTruncatedAddress,
285
- V as formatTruncatedSignerKey,
284
+ Dm as findTransfersAndApprovals,
285
+ jm as formatAddress,
286
+ V as formatFullAddress,
287
+ H as formatTruncatedAddress,
288
+ L as formatTruncatedSignerKey,
286
289
  M as formatTruncatedString,
287
- Fs as functionAbiSchema,
288
- Bs as functionAbiTypeSchema,
289
- Ym as generateAvatarImage,
290
+ _s as functionAbiSchema,
291
+ ws as functionAbiTypeSchema,
292
+ Jm as generateAvatarImage,
290
293
  ra as getAccountContractAddress,
291
294
  ta as getAccountDeploymentPayload,
292
295
  na as getAccountVersionByClasshash,
293
- we as getAddressFromArgentName,
296
+ _e as getAddressFromArgentName,
294
297
  Oe as getAddressFromStarkName,
295
298
  W as getAddressOrEmptyUndefinedSchema,
296
299
  U as getAddressSchema,
@@ -303,57 +306,57 @@ export {
303
306
  ia as getArgentAccountClassHashesWithTxV3Support,
304
307
  ca as getArgentAccountWithMultiSignerClassHashes,
305
308
  We as getArgentNetwork,
306
- _a as getBackendTimeNowSeconds,
309
+ wa as getBackendTimeNowSeconds,
307
310
  Oa as getBackendTimeSeconds,
308
- He as getCallFromStarkName,
311
+ Ve as getCallFromStarkName,
309
312
  Ue as getChainIdFromNetworkId,
310
- Zm as getColor,
313
+ $m as getColor,
311
314
  yt as getCurrencySymbol,
312
315
  za as getDapplandLinkForDapp,
313
316
  Ka as getDapplandUrlForDapp,
314
- hm as getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2,
315
- An as getInitials,
317
+ lm as getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2,
318
+ Tn as getInitials,
316
319
  Sa as getLastCairo0ArgentAccountClassHash,
317
320
  da as getLatestArgentAccountClassHash,
318
321
  pa as getLatestArgentMultisigClassHash,
319
322
  ha as getLatestLedgerAccountClassHash,
320
323
  la as getLedgerAccountClassHashes,
321
324
  jo as getMessageFromTrpcError,
322
- lm as getNativeEstimatedFeeByFeeToken,
323
- fm as getNativeEstimatedFeeByTxVersion,
324
- um as getNativeEstimatedFeeForAccount,
325
- Am as getNativeEstimatedFees,
326
- gm as getNativeFeeFromSimulation,
327
- xm as getNativeFeeTokenAddress,
328
- Qm as getNetworkAccountImageUrl,
325
+ fm as getNativeEstimatedFeeByFeeToken,
326
+ um as getNativeEstimatedFeeByTxVersion,
327
+ Am as getNativeEstimatedFeeForAccount,
328
+ gm as getNativeEstimatedFees,
329
+ xm as getNativeFeeFromSimulation,
330
+ Tm as getNativeFeeTokenAddress,
331
+ en as getNetworkAccountImageUrl,
329
332
  nr as getNftPicture,
330
- Bm as getPayloadFromTransaction,
331
- Tm as getPaymasterFeeFromSimulation,
332
- vm as getPrettyRpcError,
333
+ Im as getPayloadFromTransaction,
334
+ km as getPaymasterFeeFromSimulation,
335
+ Nm as getPrettyRpcError,
333
336
  Ir as getSignerForMultiSigner,
334
- Le as getStarknetIdContractAddressFromNetworkId,
337
+ He as getStarknetIdContractAddressFromNetworkId,
335
338
  at as getTokenBalance,
336
339
  rt as getTokens,
337
340
  tt as getTokensBalances,
338
341
  yr as getUAParserResult,
339
- On as getUint256CalldataFromBN,
342
+ Ln as getUint256CalldataFromBN,
340
343
  j as getValidChecksumAddressSchema,
341
344
  Y as getValidateAddressRangeSchema,
342
- pn as hexSchema,
343
- hn as hexSchemaBase,
344
- fn as id,
345
+ fn as hexSchema,
346
+ un as hexSchemaBase,
347
+ gn as id,
345
348
  Je as implementationSchema,
346
349
  Z as includesAddress,
347
350
  Mo as inputAmountSchema,
348
- Lr as investmentMetaSchema,
349
- Vr as investmentSchema,
351
+ Hr as investmentMetaSchema,
352
+ Lr as investmentSchema,
350
353
  Mr as investmentsResponseSchema,
351
354
  p as isAccountV4,
352
355
  h as isAccountV5,
353
356
  l as isAccountV6,
354
357
  Q as isAddress,
355
- yn as isAllowedAddressHexInputValue,
356
- Dn as isAllowedNumericInputValue,
358
+ vn as isAllowedAddressHexInputValue,
359
+ Rn as isAllowedNumericInputValue,
357
360
  k as isArgentBackendNetworkId,
358
361
  xe as isArgentName,
359
362
  C as isArgentNetworkId,
@@ -361,9 +364,9 @@ export {
361
364
  kr as isBraveBrowser,
362
365
  Er as isBrowser,
363
366
  Dr as isChromeBrowser,
364
- wo as isCollateralizedDebtPosition,
365
- _o as isConcentratedLiquidityPosition,
366
- xn as isContractDeployed,
367
+ _o as isCollateralizedDebtPosition,
368
+ wo as isConcentratedLiquidityPosition,
369
+ Cn as isContractDeployed,
367
370
  Oo as isDelegatedTokens,
368
371
  vr as isEdgeBrowser,
369
372
  $ as isEqualAddress,
@@ -371,14 +374,14 @@ export {
371
374
  oa as isEqualImplementation,
372
375
  Se as isEqualStarknetDomainName,
373
376
  ua as isEqualStarknetId,
374
- Sn as isFeatureEnabled,
375
- Pr as isFirefoxBrowser,
376
- Pn as isNumeric,
377
- Nr as isSafariBrowser,
378
- Ho as isStaking,
377
+ hn as isFeatureEnabled,
378
+ Nr as isFirefoxBrowser,
379
+ bn as isNumeric,
380
+ Rr as isSafariBrowser,
381
+ Vo as isStaking,
379
382
  de as isStarknetDomainName,
380
383
  Aa as isStarknetId,
381
- Lo as isStrkDelegatedStaking,
384
+ Ho as isStrkDelegatedStaking,
382
385
  ut as isUnlimitedAmount,
383
386
  ee as isValidAddress,
384
387
  ae as isValidHexString,
@@ -386,21 +389,21 @@ export {
386
389
  re as isZeroAddress,
387
390
  Ua as knownDappSchema,
388
391
  Ga as knownDappsSchema,
389
- Is as legacyContractClassSchema,
390
- ws as legacyEventSchema,
392
+ Os as legacyContractClassSchema,
393
+ Vs as legacyEventSchema,
391
394
  Wr as lendingInvestmentSchema,
392
395
  Ur as liquidStakingInvestmentSchema,
393
- ms as looseCalldataSchema,
396
+ is as looseCalldataSchema,
394
397
  Jr as mergeArrayStableWith,
395
- _r as mergeOwnerGuardianSignatures,
398
+ wr as mergeOwnerGuardianSignatures,
396
399
  $o as modifySnjsFeeOverhead,
397
- ns as multiTypeSchema,
400
+ cs as multiTypeSchema,
398
401
  Za as nameProviderResolutionSchema,
399
402
  Qa as nameResolutionAddressSchema,
400
403
  Ja as nameResolutionAddressesSchema,
401
404
  $a as nameResolutionStarknetIdSchema,
402
405
  er as nameResolutionStarknetIdsSchema,
403
- kn as nonNullable,
406
+ En as nonNullable,
404
407
  te as normalizeAddress,
405
408
  oe as normalizeAddressForCompare,
406
409
  pe as normalizeAddressOrDomain,
@@ -409,79 +412,79 @@ export {
409
412
  hr as onchainRecoverySchema,
410
413
  $r as optionsWithDefaults,
411
414
  Uo as parseAmount,
412
- Hn as parseAmountValue,
413
- Vn as pluralise,
415
+ Mn as parseAmountValue,
416
+ Un as pluralise,
414
417
  Ia as postData,
415
418
  u as preferencesEndpointPayload,
416
419
  A as preferencesSchema,
417
- Rn as prettifyCurrencyNumber,
420
+ Bn as prettifyCurrencyNumber,
418
421
  gt as prettifyCurrencyValue,
419
- bn as prettifyNumber,
420
- Fn as prettifyNumberConfig,
422
+ In as prettifyNumber,
423
+ _n as prettifyNumberConfig,
421
424
  kt as prettifyTokenAmount,
422
- Bn as prettifyTokenNumber,
425
+ wn as prettifyTokenNumber,
423
426
  ho as productGroupsSchema,
424
- _s as programSchema,
427
+ Hs as programSchema,
425
428
  ar as providersNamesSchema,
426
- Os as pythonicHintsSchema,
427
- ss as rawArgsArraySchema,
428
- is as rawArgsObjectSchema,
429
- cs as rawArgsSchema,
430
- Wn as readFileAsString,
429
+ Ls as pythonicHintsSchema,
430
+ Ss as rawArgsArraySchema,
431
+ ds as rawArgsObjectSchema,
432
+ ps as rawArgsSchema,
433
+ qn as readFileAsString,
431
434
  lr as recoveryBaseSchema,
432
435
  fr as recoveryBodySchema,
433
436
  ur as recoveryStatusSchema,
434
- Ss as removeOwnersCalldataSchema,
435
- ds as removePluginCalldataSchema,
436
- ps as replaceSignerCalldataSchema,
437
+ hs as removeOwnersCalldataSchema,
438
+ ls as removePluginCalldataSchema,
439
+ fs as replaceSignerCalldataSchema,
437
440
  Zr as replaceValueRecursively,
438
- Zs as retryUntilInitialised,
439
- zn as safeParseAndWarn,
441
+ $s as retryUntilInitialised,
442
+ jn as safeParseAndWarn,
440
443
  br as seedphraseSchema,
441
- Hs as sierraContractEntryPointFieldsSchema,
442
- Ls as sierraEntryPointsByTypeSchema,
443
- Vs as sierraProgramDebugInfoSchema,
444
+ Ms as sierraContractEntryPointFieldsSchema,
445
+ Ws as sierraEntryPointsByTypeSchema,
446
+ Us as sierraProgramDebugInfoSchema,
444
447
  Gr as stakerInfoSchema,
445
448
  qr as stakingActionSchema,
446
449
  lo as stakingPositionSchema,
447
450
  fo as stakingPositionsSchema,
448
- Ve as starkNameToCallDataDomain,
451
+ Le as starkNameToCallDataDomain,
449
452
  he as starknetDomainNameSchema,
450
453
  xa as starknetIdSchema,
451
454
  Ar as startOnchainRecoveryErrorSchema,
452
455
  gr as startOnchainRecoveryErrorStatusSchema,
453
456
  xr as startOnchainRecoverySchema,
454
- Kn as stringToBooleanSchema,
455
- Jm as stripAddressZeroPadding,
457
+ Yn as stringToBooleanSchema,
458
+ an as stripAddressZeroPadding,
456
459
  zr as strkDelegatedStakingInvestmentSchema,
457
460
  uo as strkDelegatedStakingPositionArraySchema,
458
461
  Ao as strkDelegatedStakingPositionSchema,
459
462
  Kr as strkStakingCalldataResponseSchema,
460
463
  Xr as strkStakingCalldataSchema,
461
- Ms as structAbiSchema,
462
- km as toMaxFeeEstimation,
463
- Wm as transactionExecutionResponseSchema,
464
- Um as transactionPromotionPrizeSchema,
465
- Gm as transactionPromotionSchema,
464
+ Gs as structAbiSchema,
465
+ Cm as toMaxFeeEstimation,
466
+ qm as transactionExecutionResponseSchema,
467
+ zm as transactionPromotionPrizeSchema,
468
+ Km as transactionPromotionSchema,
466
469
  om as transactionReviewTransactionsSchema,
467
- bm as transactionReviewWarningSchema,
468
- hs as transferCalldataSchema,
470
+ Fm as transactionReviewWarningSchema,
471
+ us as transferCalldataSchema,
469
472
  Yo as trpcErrorSchema,
470
- Om as txVersionSchema,
471
- ls as typedDataSchema,
472
- fs as uint256Schema,
473
+ Lm as txVersionSchema,
474
+ As as typedDataSchema,
475
+ gs as uint256Schema,
473
476
  Co as unclaimedRewardsSchema,
474
- qs as urlWithQuery,
477
+ Xs as urlWithQuery,
475
478
  ot as useToken,
476
479
  me as validChecksumAddressSchema,
477
480
  ne as validateAddressRangeSchema,
478
- Ks as voidify,
481
+ Ys as voidify,
479
482
  Eo as webBaseTokenSchema,
480
483
  Do as webBaseTokenWithBalanceSchema,
481
484
  vo as webTokenInfoDetailsSchema,
482
- Po as webTokenPriceDetailsSchema,
483
- No as webTokenSchema,
484
- Ro as webTokenWithBalanceAndPriceSchema,
485
+ No as webTokenPriceDetailsSchema,
486
+ Ro as webTokenSchema,
487
+ Po as webTokenWithBalanceAndPriceSchema,
485
488
  bo as webTokenWithBalanceSchema,
486
489
  Fo as webTokenWithPriceSchema,
487
490
  Bo as webTokensWithBalanceAndPriceSchema