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