@argent/x-shared 1.38.0 → 1.38.1

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