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