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