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