@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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +212 -209
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.js +5 -5
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.js +13 -14
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.js +3 -3
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js +3 -3
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.cjs +1 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js +1 -1
- package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.js +6 -6
- package/dist/src/chains/starknet/address.cjs +1 -1
- package/dist/src/chains/starknet/address.js +17 -17
- package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.js +1 -1
- package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.js +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.js +27 -27
- package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.js +22 -22
- package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.js +14 -14
- package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.js +9 -9
- package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.js +13 -13
- package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.cjs +1 -1
- package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.js +24 -25
- package/dist/src/features/simulation/activity/normalize.cjs +1 -1
- package/dist/src/features/simulation/activity/normalize.js +12 -13
- package/dist/src/features/simulation/activity/schema.cjs +1 -1
- package/dist/src/features/simulation/activity/schema.js +6 -6
- package/dist/src/features/simulation/activity/utils/createNativeActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/createNativeActivity.js +22 -24
- package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.js +11 -12
- package/dist/src/features/simulation/activity/utils/hasDelegationActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/hasDelegationActivity.js +2 -8
- package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.js +4 -8
- package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.js +4 -8
- package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.js +3 -9
- package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.js +15 -19
- package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.js +4 -8
- package/dist/src/features/simulation/activity/utils/isSwapActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isSwapActivity.js +9 -16
- package/dist/src/features/simulation/activity/utils/isUpgradeActivity.cjs +1 -1
- package/dist/src/features/simulation/activity/utils/isUpgradeActivity.js +4 -8
- package/dist/src/features/simulation/fees/schema.cjs +1 -1
- package/dist/src/features/simulation/fees/schema.d.ts +16 -0
- package/dist/src/features/simulation/fees/schema.js +8 -6
- package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs +1 -1
- package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.js +10 -11
- package/dist/src/features/simulation/transactionReview/schema.cjs +1 -1
- package/dist/src/features/simulation/transactionReview/schema.d.ts +23 -0
- package/dist/src/features/simulation/transactionReview/schema.js +21 -19
- package/dist/src/features/swap/services/SwapTransactionService.cjs +1 -1
- package/dist/src/features/swap/services/SwapTransactionService.js +46 -49
- package/dist/src/http/HttpService.cjs +1 -1
- package/dist/src/http/HttpService.js +55 -55
- package/dist/src/knownDapps/utils/getDapplandUrl.cjs +1 -1
- package/dist/src/knownDapps/utils/getDapplandUrl.js +6 -8
- package/dist/src/nfts/BackendNftService.cjs +1 -1
- package/dist/src/nfts/BackendNftService.js +18 -19
- package/dist/src/tokens/service/implementation.cjs +1 -1
- package/dist/src/tokens/service/implementation.js +12 -12
- package/dist/src/tokens/service/types/backend.model.js +1 -1
- package/dist/src/transactions/estimate/utils.cjs +1 -1
- package/dist/src/transactions/estimate/utils.d.ts +33 -0
- package/dist/src/transactions/estimate/utils.js +80 -76
- package/dist/src/transactions/service/implementation.cjs +1 -1
- package/dist/src/transactions/service/implementation.d.ts +4 -0
- package/dist/src/transactions/service/implementation.js +89 -96
- package/dist/src/transactions/service/utils.cjs +1 -1
- package/dist/src/transactions/service/utils.d.ts +2 -3
- package/dist/src/transactions/service/utils.js +12 -11
- package/dist/src/transactions/transactionVersion.cjs +1 -1
- package/dist/src/transactions/transactionVersion.d.ts +2 -0
- package/dist/src/transactions/transactionVersion.js +12 -10
- package/dist/src/utils/base58.js +5 -5
- package/dist/src/utils/number/abbreviateNumber.d.ts +2 -1
- package/dist/src/utils/readFileAsString.cjs +1 -1
- package/dist/src/utils/readFileAsString.js +3 -6
- package/package.json +23 -23
- 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
- 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
|
|
9
|
-
import { CacheService as
|
|
10
|
-
import { addressOrEmptyUndefinedSchema as F, addressSchema as B, addressSchemaArgentBackend as I, addressSchemaBase as
|
|
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
|
|
16
|
-
import { apiWalletResponseSchema as Ie, getAddressFromArgentName as
|
|
17
|
-
import { getAddressFromStarkName as Oe, getCallFromStarkName as
|
|
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
|
|
29
|
-
import { SWRService as
|
|
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
|
|
32
|
-
import { KnownDappsBackendService as
|
|
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
|
|
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
|
|
46
|
-
import { buildSellOptsSchema as
|
|
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
|
|
61
|
-
import { apiAccountTokenBalancesSchema as bt, apiAirdropSchema as Ft, apiCollateralizedDebtPositionSchema as Bt, apiCollateralizedDebtPositionsSchema as It, apiConcentratedLiquidityPositionSchema as
|
|
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
|
|
66
|
-
import { isCollateralizedDebtPosition as
|
|
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,
|
|
74
|
-
import { EventsBySelector as
|
|
75
|
-
import { getPrettyRpcError as
|
|
76
|
-
import { TransactionReviewServiceWeb as
|
|
77
|
-
import { transactionReviewWarningSchema as
|
|
78
|
-
import { getPayloadFromTransaction as
|
|
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
|
|
81
|
-
import { classHashSupportsTxV3 as
|
|
82
|
-
import { transactionExecutionResponseSchema as
|
|
83
|
-
import { formatAddress as
|
|
84
|
-
import { ensureArray as
|
|
85
|
-
import { generateAvatarImage as
|
|
86
|
-
import { decodeBase58 as
|
|
87
|
-
import { bigNumberSchema as
|
|
88
|
-
import { daysBetween as
|
|
89
|
-
import { isFeatureEnabled as
|
|
90
|
-
import { hexSchema as
|
|
91
|
-
import { id as
|
|
92
|
-
import { getInitials as
|
|
93
|
-
import { isContractDeployed as
|
|
94
|
-
import { nonNullable as
|
|
95
|
-
import { isAllowedAddressHexInputValue as
|
|
96
|
-
import { isAllowedNumericInputValue as
|
|
97
|
-
import { isNumeric as
|
|
98
|
-
import { prettifyCurrencyNumber as
|
|
99
|
-
import { abbreviateNumber as
|
|
100
|
-
import { getUint256CalldataFromBN as
|
|
101
|
-
import { pluralise as
|
|
102
|
-
import { readFileAsString as
|
|
103
|
-
import { booleanToStringSchema as
|
|
104
|
-
import { addOwnersCalldataSchema as
|
|
105
|
-
import { abiEntrySchema as
|
|
106
|
-
import { entryPointToHumanReadable as
|
|
107
|
-
import { urlWithQuery as
|
|
108
|
-
import { voidify as
|
|
109
|
-
import { bipsToPercent as
|
|
110
|
-
import { retryUntilInitialised as
|
|
111
|
-
import { CurrencyFetchService as
|
|
112
|
-
import { currenciesDetailsSchema as
|
|
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
|
-
|
|
124
|
-
|
|
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
|
-
|
|
130
|
+
Em as EventsBySelector,
|
|
131
131
|
Qo as FEE_OVERHEAD,
|
|
132
|
+
Vm as FEE_TX_VERSION,
|
|
132
133
|
Da as HTTPService,
|
|
133
|
-
|
|
134
|
+
Na as HTTP_ERROR_MESSAGE,
|
|
134
135
|
ya as HttpError,
|
|
135
|
-
|
|
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
|
-
|
|
143
|
-
|
|
143
|
+
Ne as STRK_TOKEN_ADDRESS,
|
|
144
|
+
Pa as SWRService,
|
|
144
145
|
qe as StarknetAddressService,
|
|
145
146
|
dr as StartOnchainRecoveryErrorStatusEnum,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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
|
-
|
|
152
|
+
Hm as TX_VERSION,
|
|
153
|
+
Rt as TokenError,
|
|
152
154
|
Dt as TokenServiceWeb,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
Pm as TransactionReviewServiceWeb,
|
|
156
|
+
Vn as abbreviateNumber,
|
|
157
|
+
Ts as abiEntrySchema,
|
|
158
|
+
ks as abiSchema,
|
|
157
159
|
pr as activeOnchainRecoverySchema,
|
|
158
|
-
|
|
159
|
-
|
|
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
|
-
|
|
168
|
-
|
|
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
|
-
|
|
176
|
-
|
|
177
|
+
_t as apiConcentratedLiquidityPositionSchema,
|
|
178
|
+
wt as apiConcentratedLiquidityPositionsSchema,
|
|
177
179
|
Ot as apiDefiDecompositionProduct,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
206
|
+
N as backendSessionTxFeeSchema,
|
|
205
207
|
S as baseWalletAccountSchema,
|
|
206
208
|
e as bigDecimal,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
cn as bigNumberSchema,
|
|
210
|
+
$n as bigNumberishSchema,
|
|
211
|
+
Qs as bipsToPercent,
|
|
212
|
+
Kn as booleanToStringSchema,
|
|
211
213
|
ea as buildConstructorCalldata,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
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
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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
|
-
|
|
238
|
+
bs as contractEntryPointFieldsSchema,
|
|
237
239
|
it as convertCurrencyValueToTokenAmount,
|
|
238
240
|
St as convertTokenAmountToCurrencyValue,
|
|
239
241
|
pt as convertTokenUnitAmountWithDecimals,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
Xn as createSchemaWithWarnings,
|
|
243
|
+
ti as currenciesDetailsSchema,
|
|
244
|
+
oi as currencyDetailsSchema,
|
|
243
245
|
Ma as dappContractSchema,
|
|
244
246
|
Wa as dappLinkSchema,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
-
|
|
256
|
-
|
|
257
|
-
|
|
257
|
+
mn as encodeBase58,
|
|
258
|
+
nn as encodeBase58Array,
|
|
259
|
+
Zm as ensureArray,
|
|
258
260
|
lt as ensureDecimals,
|
|
259
|
-
|
|
260
|
-
|
|
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
|
-
|
|
267
|
+
ms as escapeGuardianCalldataSchema,
|
|
266
268
|
nm as estimatedFeeToMaxFeeTotal,
|
|
267
269
|
sm as estimatedFeeToMaxResourceBounds,
|
|
268
|
-
im as
|
|
269
|
-
cm as
|
|
270
|
-
Sm as
|
|
271
|
-
dm as
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
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
|
-
|
|
282
|
+
hm as filterPaymasterEstimatedFees,
|
|
280
283
|
aa as findImplementationForAccount,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
-
|
|
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
|
-
|
|
309
|
+
wa as getBackendTimeNowSeconds,
|
|
307
310
|
Oa as getBackendTimeSeconds,
|
|
308
|
-
|
|
311
|
+
Ve as getCallFromStarkName,
|
|
309
312
|
Ue as getChainIdFromNetworkId,
|
|
310
|
-
|
|
313
|
+
$m as getColor,
|
|
311
314
|
yt as getCurrencySymbol,
|
|
312
315
|
za as getDapplandLinkForDapp,
|
|
313
316
|
Ka as getDapplandUrlForDapp,
|
|
314
|
-
|
|
315
|
-
|
|
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
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
+
Im as getPayloadFromTransaction,
|
|
334
|
+
km as getPaymasterFeeFromSimulation,
|
|
335
|
+
Nm as getPrettyRpcError,
|
|
333
336
|
Ir as getSignerForMultiSigner,
|
|
334
|
-
|
|
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
|
-
|
|
342
|
+
Ln as getUint256CalldataFromBN,
|
|
340
343
|
j as getValidChecksumAddressSchema,
|
|
341
344
|
Y as getValidateAddressRangeSchema,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
-
|
|
349
|
-
|
|
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
|
-
|
|
356
|
-
|
|
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
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
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
|
-
|
|
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
|
-
|
|
390
|
-
|
|
392
|
+
Os as legacyContractClassSchema,
|
|
393
|
+
Vs as legacyEventSchema,
|
|
391
394
|
Wr as lendingInvestmentSchema,
|
|
392
395
|
Ur as liquidStakingInvestmentSchema,
|
|
393
|
-
|
|
396
|
+
is as looseCalldataSchema,
|
|
394
397
|
Jr as mergeArrayStableWith,
|
|
395
|
-
|
|
398
|
+
wr as mergeOwnerGuardianSignatures,
|
|
396
399
|
$o as modifySnjsFeeOverhead,
|
|
397
|
-
|
|
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
|
-
|
|
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
|
-
|
|
413
|
-
|
|
415
|
+
Mn as parseAmountValue,
|
|
416
|
+
Un as pluralise,
|
|
414
417
|
Ia as postData,
|
|
415
418
|
u as preferencesEndpointPayload,
|
|
416
419
|
A as preferencesSchema,
|
|
417
|
-
|
|
420
|
+
Bn as prettifyCurrencyNumber,
|
|
418
421
|
gt as prettifyCurrencyValue,
|
|
419
|
-
|
|
420
|
-
|
|
422
|
+
In as prettifyNumber,
|
|
423
|
+
_n as prettifyNumberConfig,
|
|
421
424
|
kt as prettifyTokenAmount,
|
|
422
|
-
|
|
425
|
+
wn as prettifyTokenNumber,
|
|
423
426
|
ho as productGroupsSchema,
|
|
424
|
-
|
|
427
|
+
Hs as programSchema,
|
|
425
428
|
ar as providersNamesSchema,
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
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
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
+
hs as removeOwnersCalldataSchema,
|
|
438
|
+
ls as removePluginCalldataSchema,
|
|
439
|
+
fs as replaceSignerCalldataSchema,
|
|
437
440
|
Zr as replaceValueRecursively,
|
|
438
|
-
|
|
439
|
-
|
|
441
|
+
$s as retryUntilInitialised,
|
|
442
|
+
jn as safeParseAndWarn,
|
|
440
443
|
br as seedphraseSchema,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
-
|
|
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
|
-
|
|
455
|
-
|
|
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
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
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
|
-
|
|
468
|
-
|
|
470
|
+
Fm as transactionReviewWarningSchema,
|
|
471
|
+
us as transferCalldataSchema,
|
|
469
472
|
Yo as trpcErrorSchema,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
+
Lm as txVersionSchema,
|
|
474
|
+
As as typedDataSchema,
|
|
475
|
+
gs as uint256Schema,
|
|
473
476
|
Co as unclaimedRewardsSchema,
|
|
474
|
-
|
|
477
|
+
Xs as urlWithQuery,
|
|
475
478
|
ot as useToken,
|
|
476
479
|
me as validChecksumAddressSchema,
|
|
477
480
|
ne as validateAddressRangeSchema,
|
|
478
|
-
|
|
481
|
+
Ys as voidify,
|
|
479
482
|
Eo as webBaseTokenSchema,
|
|
480
483
|
Do as webBaseTokenWithBalanceSchema,
|
|
481
484
|
vo as webTokenInfoDetailsSchema,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
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
|