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