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