@argent/x-shared 1.38.0 → 1.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +219 -215
- package/dist/src/tokens/service/implementation.d.ts +21 -2
- package/dist/src/tokens/service/types/backend.model.cjs +1 -1
- package/dist/src/tokens/service/types/backend.model.d.ts +818 -73
- package/dist/src/tokens/service/types/backend.model.js +29 -22
- package/dist/src/tokens/service/types/defiPosition.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPosition.model.d.ts +1024 -64
- package/dist/src/tokens/service/types/defiPosition.model.js +29 -22
- package/dist/src/tokens/service/types/defiPositionType.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.d.ts +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "./src/bigdecimal/index.js";
|
|
2
2
|
import { BaseError as o } from "./src/errors/baseErrors.js";
|
|
3
3
|
import { AddSmartAccountResponseSchema as m, AddSmartAcountRequestSchema as n, BackendAccountSchema as c } from "./src/account/account.model.js";
|
|
4
|
-
import { isAccountV4 as
|
|
4
|
+
import { isAccountV4 as i, 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
6
|
import { argentBackendNetworkIdSchema as u, argentNetworkIdSchema as A, isArgentBackendNetworkId as x, isArgentNetworkId as T } from "./src/backend/schema.js";
|
|
7
7
|
import { CacheService as C } from "./src/cache/CacheService.js";
|
|
@@ -10,7 +10,7 @@ import { addressOrDomainInputSchema as U, addressOrDomainSchema as q, isEqualSta
|
|
|
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 re } from "./src/chains/starknet/argentName.js";
|
|
12
12
|
import { cairoVersionSchema as oe } from "./src/chains/starknet/cairoVersionSchema.js";
|
|
13
|
-
import { ETH_TOKEN_ADDRESS as me, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as ne, STRK_TOKEN_ADDRESS as ce, TXV1_ACCOUNT_CLASS_HASH as
|
|
13
|
+
import { ETH_TOKEN_ADDRESS as me, STANDARD_DEVNET_ACCOUNT_CLASS_HASH as ne, STRK_TOKEN_ADDRESS as ce, TXV1_ACCOUNT_CLASS_HASH as se, TXV1_MULTISIG_CLASS_HASH as ie, 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
15
|
import { getAddressFromStarkName as ue, getCallFromStarkName as Ae, getStarknetIdContractAddressFromNetworkId as xe, starkNameToCallDataDomain as Te } from "./src/chains/starknet/getAddressFromStarkName.js";
|
|
16
16
|
import { getChainIdFromNetworkId as Ce } from "./src/chains/starknet/network.js";
|
|
@@ -25,7 +25,7 @@ import { HttpError as rr } from "./src/http/HttpError.js";
|
|
|
25
25
|
import { HTTPService as or } from "./src/http/HttpService.js";
|
|
26
26
|
import { HTTP_ERROR_MESSAGE as mr } from "./src/http/IHttpService.js";
|
|
27
27
|
import { SWRService as cr } from "./src/http/SWRService.js";
|
|
28
|
-
import { fetchData as
|
|
28
|
+
import { fetchData as ir, fetcherError as Sr, postData as dr } from "./src/http/fetcher.js";
|
|
29
29
|
import { getBackendTimeNowSeconds as lr, getBackendTimeSeconds as hr } from "./src/http/time.js";
|
|
30
30
|
import { KnownDappsBackendService as ur } from "./src/knownDapps/KnownDappsBackendService.js";
|
|
31
31
|
import { dappContractSchema as xr, dappLinkSchema as Tr, knownDappSchema as gr, knownDappsSchema as Cr } from "./src/knownDapps/schema.js";
|
|
@@ -38,7 +38,7 @@ import { OnchainRecoveryService as Mr } from "./src/onchainRecovery/OnchainRecov
|
|
|
38
38
|
import { RecoveryStatusEnum as Ur, StartOnchainRecoveryErrorStatusEnum as qr, activeOnchainRecoverySchema as Gr, onchainRecoverySchema as zr, recoveryBaseSchema as Kr, recoveryBodySchema as jr, recoveryStatusSchema as Xr, startOnchainRecoveryErrorSchema as Yr, startOnchainRecoveryErrorStatusSchema as Zr, startOnchainRecoverySchema as Qr } from "./src/onchainRecovery/schema.js";
|
|
39
39
|
import { isBraveBrowser as $r } from "./src/platform/isBraveBrowser.js";
|
|
40
40
|
import { getUAParserResult as ra, isBrowser as aa, isChromeBrowser as oa, isEdgeBrowser as ta, isFirefoxBrowser as ma, isSafariBrowser as na } from "./src/platform/isBrowser.js";
|
|
41
|
-
import { seedphraseSchema as
|
|
41
|
+
import { seedphraseSchema as sa } from "./src/signer/seedphrase.js";
|
|
42
42
|
import { MultiSigner as Sa, getSignerForMultiSigner as da } from "./src/signer/multisigner.js";
|
|
43
43
|
import { getTokenBalance as la, getTokens as ha, getTokensBalances as fa, useToken as ua } from "./src/tokens/balances.js";
|
|
44
44
|
import { DEFAULT_TOKEN_DECIMALS as xa } from "./src/tokens/constants.js";
|
|
@@ -51,52 +51,52 @@ import { PRETTY_UNLIMITED as va, prettifyTokenAmount as ba } from "./src/tokens/
|
|
|
51
51
|
import { getCurrencySymbol as Ia } from "./src/tokens/getCurrencySymbol.js";
|
|
52
52
|
import { TokenServiceWeb as wa } from "./src/tokens/service/implementation.js";
|
|
53
53
|
import { TOKEN_ERROR_MESSAGES as La, TokenError as Oa } from "./src/tokens/service/tokenError.js";
|
|
54
|
-
import { apiAccountTokenBalancesSchema as Ma, apiAirdropSchema as Wa, apiCollateralizedDebtPositionSchema as Ua, apiCollateralizedDebtPositionsSchema as qa, apiConcentratedLiquidityPositionSchema as Ga, apiConcentratedLiquidityPositionsSchema as za, apiDefiDecompositionProduct as Ka, apiDefiDecompositionProducts as ja, apiDefiDecompositionSchema as Xa, apiDefiDecompositionToken as Ya, apiDefiPositionsSchema as Za,
|
|
55
|
-
import { collateralizedDebtGroupSchema as
|
|
56
|
-
import { defiPositionTypeSchema as
|
|
57
|
-
import { airdropSchema as
|
|
58
|
-
import { webBaseTokenSchema as
|
|
59
|
-
import { inputAmountSchema as
|
|
60
|
-
import { erc20TransferTransaction as
|
|
61
|
-
import { getMessageFromTrpcError as
|
|
62
|
-
import { FEE_OVERHEAD as
|
|
63
|
-
import { ESTIMATE_ERROR_MESSAGES as
|
|
64
|
-
import { transactionReviewTransactionsSchema as
|
|
65
|
-
import { buildDummyTx as
|
|
66
|
-
import { EventsBySelector as
|
|
67
|
-
import { getPrettyRpcError as
|
|
68
|
-
import { getSimulationTxVersionFromFeeToken as
|
|
69
|
-
import { TransactionReviewServiceWeb as
|
|
70
|
-
import { transactionReviewWarningSchema as
|
|
71
|
-
import { apiTransactionReviewActivityType as
|
|
72
|
-
import { denyTxV3 as
|
|
73
|
-
import { classHashSupportsTxV3 as
|
|
74
|
-
import { formatAddress as
|
|
75
|
-
import { ensureArray as
|
|
76
|
-
import { generateAvatarImage as
|
|
77
|
-
import { decodeBase58 as
|
|
78
|
-
import { bigNumberSchema as
|
|
79
|
-
import { daysBetween as
|
|
80
|
-
import { isFeatureEnabled as
|
|
81
|
-
import { hexSchema as
|
|
82
|
-
import { id as
|
|
83
|
-
import { getInitials as
|
|
84
|
-
import { isContractDeployed as
|
|
85
|
-
import { nonNullable as
|
|
86
|
-
import { isAllowedAddressHexInputValue as
|
|
87
|
-
import { isAllowedNumericInputValue as
|
|
88
|
-
import { isNumeric as
|
|
89
|
-
import { prettifyCurrencyNumber as
|
|
90
|
-
import { getUint256CalldataFromBN as
|
|
91
|
-
import { pluralise as
|
|
92
|
-
import { readFileAsString as
|
|
93
|
-
import { booleanToStringSchema as
|
|
94
|
-
import { addOwnersCalldataSchema as
|
|
95
|
-
import { abiEntrySchema as
|
|
96
|
-
import { entryPointToHumanReadable as
|
|
97
|
-
import { urlWithQuery as
|
|
98
|
-
import { voidify as
|
|
99
|
-
import { bipsToPercent as
|
|
54
|
+
import { apiAccountTokenBalancesSchema as Ma, apiAirdropSchema as Wa, apiCollateralizedDebtPositionSchema as Ua, apiCollateralizedDebtPositionsSchema as qa, apiConcentratedLiquidityPositionSchema as Ga, apiConcentratedLiquidityPositionsSchema as za, apiDefiDecompositionProduct as Ka, apiDefiDecompositionProducts as ja, apiDefiDecompositionSchema as Xa, apiDefiDecompositionToken as Ya, apiDefiPositionsSchema as Za, apiDelegatedTokensArraySchema as Qa, apiDelegatedTokensSchema as Ja, apiPriceDataResponseSchema as $a, apiPriceDetailsSchema as eo, apiStakingPositionSchema as ro, apiStakingPositionsSchema as ao, apiTokenInfoResponseSchema as oo, apiTokenInfoSchema as to, apiTokensInfoResponseSchema as mo, apiUnclaimedRewardsSchema as no } from "./src/tokens/service/types/backend.model.js";
|
|
55
|
+
import { collateralizedDebtGroupSchema as so, collateralizedDebtPositionSchema as io, collateralizedDebtPositionsSchema as So, concentratedLiquidityPositionSchema as po, concentratedLiquidityPositionsSchema as lo, defiDappsProductsSchema as ho, defiPositionSchema as fo, defiProductSchema as uo, defiProductsSchema as Ao, delegatedTokensArraySchema as xo, delegatedTokensSchema as To, productGroupsSchema as go } from "./src/tokens/service/types/defiPosition.model.js";
|
|
56
|
+
import { defiPositionTypeSchema as ko } from "./src/tokens/service/types/defiPositionType.model.js";
|
|
57
|
+
import { airdropSchema as Eo, unclaimedRewardsSchema as Do } from "./src/tokens/service/types/unclaimedRewards.model.js";
|
|
58
|
+
import { webBaseTokenSchema as No, webBaseTokenWithBalanceSchema as Fo, webTokenInfoDetailsSchema as Po, webTokenPriceDetailsSchema as vo, webTokenSchema as bo, webTokenWithBalanceAndPriceSchema as Bo, webTokenWithBalanceSchema as Io, webTokenWithPriceSchema as _o, webTokensWithBalanceAndPriceSchema as wo } from "./src/tokens/service/types/webToken.model.js";
|
|
59
|
+
import { inputAmountSchema as Lo, isValidInputAmount as Oo, parseAmount as Vo } from "./src/transactions/amount.js";
|
|
60
|
+
import { erc20TransferTransaction as Wo, erc721SafeTransferFromTransaction as Uo, erc721TransferFromTransaction as qo } from "./src/transactions/buildTransactions.js";
|
|
61
|
+
import { getMessageFromTrpcError as zo, trpcErrorSchema as Ko } from "./src/transactions/errors.js";
|
|
62
|
+
import { FEE_OVERHEAD as Xo, argentMaxFee as Yo, modifySnjsFeeOverhead as Zo } from "./src/transactions/estimate/argentMaxFee.js";
|
|
63
|
+
import { ESTIMATE_ERROR_MESSAGES as Jo, EstimateError as $o } from "./src/transactions/estimate/error.js";
|
|
64
|
+
import { transactionReviewTransactionsSchema as rt } from "./src/transactions/estimate/model.js";
|
|
65
|
+
import { buildDummyTx as ot, calculateCubeRootAdjustment as tt, calculateNonLinearAdjustment as mt, calculateSqrtAdjustment as nt, castFeeEstimation as ct, estimatedFeeToMaxFeeTotal as st, estimatedFeeToMaxResourceBounds as it, estimatedFeeToTotal as St, estimatedFeesToMaxFeeTotal as dt, estimatedFeesToTotal as pt, getEstimatedFeeFromBulkSimulation as lt, getEstimatedFeeFromSimulationAndRespectWatermarkFee as ht, getPayloadFromTransaction as ft, getWatermarkedMaxFeeTotal as ut, isFRI as At, isWEI as xt, multiplyBigIntByFloat as Tt, toMax as gt, tokensRequireTxV3Support as Ct, unitToFeeTokenAddress as kt } from "./src/transactions/estimate/utils.js";
|
|
66
|
+
import { EventsBySelector as Et, findTransfersAndApprovals as Dt } from "./src/transactions/findTransfersAndApprovals.js";
|
|
67
|
+
import { getPrettyRpcError as Nt } from "./src/transactions/getPrettyRcpError.js";
|
|
68
|
+
import { getSimulationTxVersionFromFeeToken as Pt, getTxVersionFromFeeToken as vt, getTxVersionFromFeeTokenForDeclareContract as bt } from "./src/transactions/getTransactionVersion.js";
|
|
69
|
+
import { TransactionReviewServiceWeb as It } from "./src/transactions/service/implementation.js";
|
|
70
|
+
import { transactionReviewWarningSchema as wt } from "./src/transactions/service/types.js";
|
|
71
|
+
import { apiTransactionReviewActivityType as Lt } from "./src/transactions/transactionReviewTypes.js";
|
|
72
|
+
import { denyTxV3 as Vt, txVersionSchema as Mt } from "./src/transactions/transactionVersion.js";
|
|
73
|
+
import { classHashSupportsTxV3 as Ut, feeTokenNeedsTxV3Support as qt } from "./src/transactions/txv3.js";
|
|
74
|
+
import { formatAddress as zt } from "./src/utils/address.js";
|
|
75
|
+
import { ensureArray as jt } from "./src/utils/arrays.js";
|
|
76
|
+
import { generateAvatarImage as Yt, getColor as Zt, getNetworkAccountImageUrl as Qt, stripAddressZeroPadding as Jt } from "./src/utils/avatarImage.js";
|
|
77
|
+
import { decodeBase58 as em, decodeBase58Array as rm, encodeBase58 as am, encodeBase58Array as om } from "./src/utils/base58.js";
|
|
78
|
+
import { bigNumberSchema as mm } from "./src/utils/bigNumber.js";
|
|
79
|
+
import { daysBetween as cm } from "./src/utils/daysBetween.js";
|
|
80
|
+
import { isFeatureEnabled as im } from "./src/utils/env.js";
|
|
81
|
+
import { hexSchema as dm, hexSchemaBase as pm } from "./src/utils/hex.js";
|
|
82
|
+
import { id as hm } from "./src/utils/id.js";
|
|
83
|
+
import { getInitials as um } from "./src/utils/initials.js";
|
|
84
|
+
import { isContractDeployed as xm } from "./src/utils/isContractDeployed.js";
|
|
85
|
+
import { nonNullable as gm } from "./src/utils/nonNullable.js";
|
|
86
|
+
import { isAllowedAddressHexInputValue as km } from "./src/utils/number/isAllowedAddressHexInputValue.js";
|
|
87
|
+
import { isAllowedNumericInputValue as Em } from "./src/utils/number/isAllowedNumericInputValue.js";
|
|
88
|
+
import { isNumeric as Rm } from "./src/utils/number/isNumeric.js";
|
|
89
|
+
import { prettifyCurrencyNumber as Fm, prettifyNumber as Pm, prettifyNumberConfig as vm, prettifyTokenNumber as bm } from "./src/utils/number/prettifyNumber.js";
|
|
90
|
+
import { getUint256CalldataFromBN as Im, parseAmountValue as _m } from "./src/utils/parseAmount.js";
|
|
91
|
+
import { pluralise as Hm } from "./src/utils/pluralise.js";
|
|
92
|
+
import { readFileAsString as Om } from "./src/utils/readFileAsString.js";
|
|
93
|
+
import { booleanToStringSchema as Mm, createSchemaWithWarnings as Wm, safeParseAndWarn as Um, stringToBooleanSchema as qm } from "./src/utils/schemas.js";
|
|
94
|
+
import { addOwnersCalldataSchema as zm, addPluginCalldataSchema as Km, bigNumberishSchema as jm, callDetailsSchema as Xm, callSchema as Ym, calldataSchema as Zm, changeGuardianCalldataSchema as Qm, changeThresholdCalldataSchema as Jm, escapeGuardianCalldataSchema as $m, executeOnPluginCalldataSchema as en, feltSchema as rn, looseCalldataSchema as an, multiTypeSchema as on, rawArgsArraySchema as tn, rawArgsObjectSchema as mn, rawArgsSchema as nn, removeOwnersCalldataSchema as cn, removePluginCalldataSchema as sn, replaceSignerCalldataSchema as Sn, transferCalldataSchema as dn, uint256Schema as pn } from "./src/utils/starknet/starknet.js";
|
|
95
|
+
import { abiEntrySchema as hn, abiSchema as fn, builtinsSchema as un, byteCodeSchema as An, cairo1EventSchema as xn, cairoAssemblySchema as Tn, compiledContractClassSchema as gn, compiledSierraCasmSchema as Cn, compiledSierraSchema as kn, compressedProgramSchema as yn, contractEntryPointFieldsSchema as En, entryPointsByTypeSchema as Dn, eventAbiSchema as Rn, eventEntrySchema as Nn, functionAbiSchema as Fn, functionAbiTypeSchema as Pn, legacyContractClassSchema as vn, legacyEventSchema as bn, programSchema as Bn, pythonicHintsSchema as In, sierraContractEntryPointFieldsSchema as _n, sierraEntryPointsByTypeSchema as wn, sierraProgramDebugInfoSchema as Hn, structAbiSchema as Ln } from "./src/utils/starknet/starknetSchemas.js";
|
|
96
|
+
import { entryPointToHumanReadable as Vn } from "./src/utils/transactions.js";
|
|
97
|
+
import { urlWithQuery as Wn } from "./src/utils/url/urlWithQuery.js";
|
|
98
|
+
import { voidify as qn } from "./src/utils/voidify.js";
|
|
99
|
+
import { bipsToPercent as zn } from "./src/utils/bips.js";
|
|
100
100
|
export {
|
|
101
101
|
De as ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES,
|
|
102
102
|
Re as ARGENT_MULTISIG_CONTRACT_CLASS_HASHES,
|
|
@@ -109,11 +109,11 @@ export {
|
|
|
109
109
|
C as CacheService,
|
|
110
110
|
xa as DEFAULT_TOKEN_DECIMALS,
|
|
111
111
|
$e as DateService,
|
|
112
|
-
|
|
112
|
+
Jo as ESTIMATE_ERROR_MESSAGES,
|
|
113
113
|
me as ETH_TOKEN_ADDRESS,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
$o as EstimateError,
|
|
115
|
+
Et as EventsBySelector,
|
|
116
|
+
Xo as FEE_OVERHEAD,
|
|
117
117
|
or as HTTPService,
|
|
118
118
|
mr as HTTP_ERROR_MESSAGE,
|
|
119
119
|
rr as HttpError,
|
|
@@ -129,18 +129,18 @@ export {
|
|
|
129
129
|
ye as StarknetAddressService,
|
|
130
130
|
qr as StartOnchainRecoveryErrorStatusEnum,
|
|
131
131
|
La as TOKEN_ERROR_MESSAGES,
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
se as TXV1_ACCOUNT_CLASS_HASH,
|
|
133
|
+
ie as TXV1_MULTISIG_CLASS_HASH,
|
|
134
134
|
Se as TXV3_ACCOUNT_CLASS_HASH,
|
|
135
135
|
de as TXV3_MULTISIG_CLASS_HASH,
|
|
136
136
|
Oa as TokenError,
|
|
137
137
|
wa as TokenServiceWeb,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
It as TransactionReviewServiceWeb,
|
|
139
|
+
hn as abiEntrySchema,
|
|
140
|
+
fn as abiSchema,
|
|
141
141
|
Gr as activeOnchainRecoverySchema,
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
zm as addOwnersCalldataSchema,
|
|
143
|
+
Km as addPluginCalldataSchema,
|
|
144
144
|
Y as addressInputCharactersAndLengthSchema,
|
|
145
145
|
Z as addressInputSchema,
|
|
146
146
|
U as addressOrDomainInputSchema,
|
|
@@ -151,7 +151,7 @@ export {
|
|
|
151
151
|
R as addressSchemaBase,
|
|
152
152
|
N as addressSchemaLooseLength,
|
|
153
153
|
F as addressSchemaStrictLength,
|
|
154
|
-
|
|
154
|
+
Eo as airdropSchema,
|
|
155
155
|
Ma as apiAccountTokenBalancesSchema,
|
|
156
156
|
Wa as apiAirdropSchema,
|
|
157
157
|
Ua as apiCollateralizedDebtPositionSchema,
|
|
@@ -163,101 +163,105 @@ export {
|
|
|
163
163
|
Xa as apiDefiDecompositionSchema,
|
|
164
164
|
Ya as apiDefiDecompositionToken,
|
|
165
165
|
Za as apiDefiPositionsSchema,
|
|
166
|
-
Qa as
|
|
167
|
-
Ja as
|
|
168
|
-
$a as
|
|
169
|
-
eo as
|
|
170
|
-
ro as
|
|
171
|
-
ao as
|
|
172
|
-
oo as
|
|
173
|
-
|
|
174
|
-
|
|
166
|
+
Qa as apiDelegatedTokensArraySchema,
|
|
167
|
+
Ja as apiDelegatedTokensSchema,
|
|
168
|
+
$a as apiPriceDataResponseSchema,
|
|
169
|
+
eo as apiPriceDetailsSchema,
|
|
170
|
+
ro as apiStakingPositionSchema,
|
|
171
|
+
ao as apiStakingPositionsSchema,
|
|
172
|
+
oo as apiTokenInfoResponseSchema,
|
|
173
|
+
to as apiTokenInfoSchema,
|
|
174
|
+
mo as apiTokensInfoResponseSchema,
|
|
175
|
+
Lt as apiTransactionReviewActivityType,
|
|
176
|
+
no as apiUnclaimedRewardsSchema,
|
|
175
177
|
le as apiWalletResponseSchema,
|
|
176
178
|
u as argentBackendNetworkIdSchema,
|
|
177
|
-
|
|
179
|
+
Yo as argentMaxFee,
|
|
178
180
|
J as argentNameSchema,
|
|
179
181
|
A as argentNetworkIdSchema,
|
|
180
182
|
e as bigDecimal,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
mm as bigNumberSchema,
|
|
184
|
+
jm as bigNumberishSchema,
|
|
185
|
+
zn as bipsToPercent,
|
|
186
|
+
Mm as booleanToStringSchema,
|
|
185
187
|
Ie as buildConstructorCalldata,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
ot as buildDummyTx,
|
|
189
|
+
un as builtinsSchema,
|
|
190
|
+
An as byteCodeSchema,
|
|
191
|
+
xn as cairo1EventSchema,
|
|
192
|
+
Tn as cairoAssemblySchema,
|
|
191
193
|
oe as cairoVersionSchema,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
194
|
+
tt as calculateCubeRootAdjustment,
|
|
195
|
+
mt as calculateNonLinearAdjustment,
|
|
196
|
+
nt as calculateSqrtAdjustment,
|
|
197
|
+
Xm as callDetailsSchema,
|
|
198
|
+
Ym as callSchema,
|
|
199
|
+
Zm as calldataSchema,
|
|
200
|
+
ct as castFeeEstimation,
|
|
201
|
+
Qm as changeGuardianCalldataSchema,
|
|
202
|
+
Jm as changeThresholdCalldataSchema,
|
|
203
|
+
Ut as classHashSupportsTxV3,
|
|
204
|
+
so as collateralizedDebtGroupSchema,
|
|
205
|
+
io as collateralizedDebtPositionSchema,
|
|
206
|
+
So as collateralizedDebtPositionsSchema,
|
|
207
|
+
gn as compiledContractClassSchema,
|
|
208
|
+
Cn as compiledSierraCasmSchema,
|
|
209
|
+
kn as compiledSierraSchema,
|
|
210
|
+
yn as compressedProgramSchema,
|
|
211
|
+
po as concentratedLiquidityPositionSchema,
|
|
212
|
+
lo as concentratedLiquidityPositionsSchema,
|
|
211
213
|
Pe as constructorCallDataSchemaC0,
|
|
212
214
|
ve as constructorCallDataSchemaC1V1,
|
|
213
|
-
|
|
215
|
+
En as contractEntryPointFieldsSchema,
|
|
214
216
|
ga as convertTokenAmountToCurrencyValue,
|
|
215
217
|
ka as convertTokenUnitAmountWithDecimals,
|
|
216
|
-
|
|
218
|
+
Wm as createSchemaWithWarnings,
|
|
217
219
|
xr as dappContractSchema,
|
|
218
220
|
Tr as dappLinkSchema,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
221
|
+
cm as daysBetween,
|
|
222
|
+
em as decodeBase58,
|
|
223
|
+
rm as decodeBase58Array,
|
|
224
|
+
ho as defiDappsProductsSchema,
|
|
225
|
+
fo as defiPositionSchema,
|
|
226
|
+
ko as defiPositionTypeSchema,
|
|
227
|
+
uo as defiProductSchema,
|
|
228
|
+
Ao as defiProductsSchema,
|
|
229
|
+
xo as delegatedTokensArraySchema,
|
|
230
|
+
To as delegatedTokensSchema,
|
|
231
|
+
Vt as denyTxV3,
|
|
232
|
+
am as encodeBase58,
|
|
233
|
+
om as encodeBase58Array,
|
|
234
|
+
jt as ensureArray,
|
|
231
235
|
Ea as ensureDecimals,
|
|
232
|
-
|
|
233
|
-
|
|
236
|
+
Vn as entryPointToHumanReadable,
|
|
237
|
+
Dn as entryPointsByTypeSchema,
|
|
234
238
|
Lr as equalNft,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
239
|
+
Wo as erc20TransferTransaction,
|
|
240
|
+
Uo as erc721SafeTransferFromTransaction,
|
|
241
|
+
qo as erc721TransferFromTransaction,
|
|
242
|
+
$m as escapeGuardianCalldataSchema,
|
|
243
|
+
st as estimatedFeeToMaxFeeTotal,
|
|
244
|
+
it as estimatedFeeToMaxResourceBounds,
|
|
245
|
+
St as estimatedFeeToTotal,
|
|
246
|
+
dt as estimatedFeesToMaxFeeTotal,
|
|
247
|
+
pt as estimatedFeesToTotal,
|
|
248
|
+
Rn as eventAbiSchema,
|
|
249
|
+
Nn as eventEntrySchema,
|
|
250
|
+
en as executeOnPluginCalldataSchema,
|
|
251
|
+
qt as feeTokenNeedsTxV3Support,
|
|
252
|
+
rn as feltSchema,
|
|
253
|
+
ir as fetchData,
|
|
250
254
|
Sr as fetcherError,
|
|
251
255
|
_e as findImplementationForAccount,
|
|
252
|
-
|
|
253
|
-
|
|
256
|
+
Dt as findTransfersAndApprovals,
|
|
257
|
+
zt as formatAddress,
|
|
254
258
|
P as formatFullAddress,
|
|
255
259
|
v as formatTruncatedAddress,
|
|
256
260
|
b as formatTruncatedSignerKey,
|
|
257
261
|
B as formatTruncatedString,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
262
|
+
Fn as functionAbiSchema,
|
|
263
|
+
Pn as functionAbiTypeSchema,
|
|
264
|
+
Yt as generateAvatarImage,
|
|
261
265
|
we as getAccountContractAddress,
|
|
262
266
|
He as getAccountDeploymentPayload,
|
|
263
267
|
he as getAddressFromArgentName,
|
|
@@ -269,152 +273,152 @@ export {
|
|
|
269
273
|
hr as getBackendTimeSeconds,
|
|
270
274
|
Ae as getCallFromStarkName,
|
|
271
275
|
Ce as getChainIdFromNetworkId,
|
|
272
|
-
|
|
276
|
+
Zt as getColor,
|
|
273
277
|
Ia as getCurrencySymbol,
|
|
274
278
|
yr as getDapplandLinkForDapp,
|
|
275
279
|
Er as getDapplandUrlForDapp,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
280
|
+
lt as getEstimatedFeeFromBulkSimulation,
|
|
281
|
+
ht as getEstimatedFeeFromSimulationAndRespectWatermarkFee,
|
|
282
|
+
um as getInitials,
|
|
279
283
|
Ue as getLastCairo0ArgentAccountClassHash,
|
|
280
284
|
qe as getLatestArgentAccountClassHash,
|
|
281
285
|
Ge as getLatestArgentMultisigClassHash,
|
|
282
286
|
ze as getLatestLedgerAccountClassHash,
|
|
283
287
|
Ke as getLedgerAccountClassHashes,
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
zo as getMessageFromTrpcError,
|
|
289
|
+
Qt as getNetworkAccountImageUrl,
|
|
286
290
|
Or as getNftPicture,
|
|
287
|
-
|
|
288
|
-
|
|
291
|
+
ft as getPayloadFromTransaction,
|
|
292
|
+
Nt as getPrettyRpcError,
|
|
289
293
|
da as getSignerForMultiSigner,
|
|
290
|
-
|
|
294
|
+
Pt as getSimulationTxVersionFromFeeToken,
|
|
291
295
|
xe as getStarknetIdContractAddressFromNetworkId,
|
|
292
296
|
la as getTokenBalance,
|
|
293
297
|
ha as getTokens,
|
|
294
298
|
fa as getTokensBalances,
|
|
295
|
-
|
|
296
|
-
|
|
299
|
+
vt as getTxVersionFromFeeToken,
|
|
300
|
+
bt as getTxVersionFromFeeTokenForDeclareContract,
|
|
297
301
|
ra as getUAParserResult,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
Im as getUint256CalldataFromBN,
|
|
303
|
+
ut as getWatermarkedMaxFeeTotal,
|
|
304
|
+
dm as hexSchema,
|
|
305
|
+
pm as hexSchemaBase,
|
|
306
|
+
hm as id,
|
|
303
307
|
be as implementationSchema,
|
|
304
308
|
I as includesAddress,
|
|
305
|
-
|
|
306
|
-
|
|
309
|
+
Lo as inputAmountSchema,
|
|
310
|
+
i as isAccountV4,
|
|
307
311
|
S as isAccountV5,
|
|
308
312
|
d as isAccountV6,
|
|
309
313
|
_ as isAddress,
|
|
310
|
-
|
|
311
|
-
|
|
314
|
+
km as isAllowedAddressHexInputValue,
|
|
315
|
+
Em as isAllowedNumericInputValue,
|
|
312
316
|
x as isArgentBackendNetworkId,
|
|
313
317
|
$ as isArgentName,
|
|
314
318
|
T as isArgentNetworkId,
|
|
315
319
|
$r as isBraveBrowser,
|
|
316
320
|
aa as isBrowser,
|
|
317
321
|
oa as isChromeBrowser,
|
|
318
|
-
|
|
322
|
+
xm as isContractDeployed,
|
|
319
323
|
ta as isEdgeBrowser,
|
|
320
324
|
w as isEqualAddress,
|
|
321
325
|
ee as isEqualArgentName,
|
|
322
326
|
Le as isEqualImplementation,
|
|
323
327
|
G as isEqualStarknetDomainName,
|
|
324
328
|
Xe as isEqualStarknetId,
|
|
325
|
-
|
|
326
|
-
|
|
329
|
+
At as isFRI,
|
|
330
|
+
im as isFeatureEnabled,
|
|
327
331
|
ma as isFirefoxBrowser,
|
|
328
|
-
|
|
332
|
+
Rm as isNumeric,
|
|
329
333
|
na as isSafariBrowser,
|
|
330
334
|
z as isStarknetDomainName,
|
|
331
335
|
Ye as isStarknetId,
|
|
332
336
|
Ra as isUnlimitedAmount,
|
|
333
337
|
H as isValidAddress,
|
|
334
|
-
|
|
335
|
-
|
|
338
|
+
Oo as isValidInputAmount,
|
|
339
|
+
xt as isWEI,
|
|
336
340
|
L as isZeroAddress,
|
|
337
341
|
gr as knownDappSchema,
|
|
338
342
|
Cr as knownDappsSchema,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
vn as legacyContractClassSchema,
|
|
344
|
+
bn as legacyEventSchema,
|
|
345
|
+
an as looseCalldataSchema,
|
|
346
|
+
Zo as modifySnjsFeeOverhead,
|
|
347
|
+
on as multiTypeSchema,
|
|
348
|
+
Tt as multiplyBigIntByFloat,
|
|
345
349
|
Fr as nameProviderResolutionSchema,
|
|
346
350
|
Pr as nameResolutionAddressSchema,
|
|
347
351
|
vr as nameResolutionAddressesSchema,
|
|
348
352
|
br as nameResolutionStarknetIdSchema,
|
|
349
353
|
Br as nameResolutionStarknetIdsSchema,
|
|
350
|
-
|
|
354
|
+
gm as nonNullable,
|
|
351
355
|
O as normalizeAddress,
|
|
352
356
|
K as normalizeAddressOrDomain,
|
|
353
357
|
re as normalizeArgentName,
|
|
354
358
|
Ze as normalizeStarknetId,
|
|
355
359
|
zr as onchainRecoverySchema,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
360
|
+
Vo as parseAmount,
|
|
361
|
+
_m as parseAmountValue,
|
|
362
|
+
Hm as pluralise,
|
|
359
363
|
dr as postData,
|
|
360
364
|
l as preferencesEndpointPayload,
|
|
361
365
|
h as preferencesSchema,
|
|
362
|
-
|
|
366
|
+
Fm as prettifyCurrencyNumber,
|
|
363
367
|
Fa as prettifyCurrencyValue,
|
|
364
|
-
|
|
365
|
-
|
|
368
|
+
Pm as prettifyNumber,
|
|
369
|
+
vm as prettifyNumberConfig,
|
|
366
370
|
ba as prettifyTokenAmount,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
371
|
+
bm as prettifyTokenNumber,
|
|
372
|
+
go as productGroupsSchema,
|
|
373
|
+
Bn as programSchema,
|
|
370
374
|
Ir as providersNamesSchema,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
375
|
+
In as pythonicHintsSchema,
|
|
376
|
+
tn as rawArgsArraySchema,
|
|
377
|
+
mn as rawArgsObjectSchema,
|
|
378
|
+
nn as rawArgsSchema,
|
|
379
|
+
Om as readFileAsString,
|
|
376
380
|
Kr as recoveryBaseSchema,
|
|
377
381
|
jr as recoveryBodySchema,
|
|
378
382
|
Xr as recoveryStatusSchema,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
383
|
+
cn as removeOwnersCalldataSchema,
|
|
384
|
+
sn as removePluginCalldataSchema,
|
|
385
|
+
Sn as replaceSignerCalldataSchema,
|
|
386
|
+
Um as safeParseAndWarn,
|
|
387
|
+
sa as seedphraseSchema,
|
|
388
|
+
_n as sierraContractEntryPointFieldsSchema,
|
|
389
|
+
wn as sierraEntryPointsByTypeSchema,
|
|
390
|
+
Hn as sierraProgramDebugInfoSchema,
|
|
387
391
|
Te as starkNameToCallDataDomain,
|
|
388
392
|
j as starknetDomainNameSchema,
|
|
389
393
|
Qe as starknetIdSchema,
|
|
390
394
|
Yr as startOnchainRecoveryErrorSchema,
|
|
391
395
|
Zr as startOnchainRecoveryErrorStatusSchema,
|
|
392
396
|
Qr as startOnchainRecoverySchema,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
397
|
+
qm as stringToBooleanSchema,
|
|
398
|
+
Jt as stripAddressZeroPadding,
|
|
399
|
+
Ln as structAbiSchema,
|
|
400
|
+
gt as toMax,
|
|
401
|
+
Ct as tokensRequireTxV3Support,
|
|
402
|
+
rt as transactionReviewTransactionsSchema,
|
|
403
|
+
wt as transactionReviewWarningSchema,
|
|
404
|
+
dn as transferCalldataSchema,
|
|
405
|
+
Ko as trpcErrorSchema,
|
|
406
|
+
Mt as txVersionSchema,
|
|
407
|
+
pn as uint256Schema,
|
|
408
|
+
Do as unclaimedRewardsSchema,
|
|
409
|
+
kt as unitToFeeTokenAddress,
|
|
410
|
+
Wn as urlWithQuery,
|
|
407
411
|
ua as useToken,
|
|
408
412
|
V as validChecksumAddressSchema,
|
|
409
413
|
M as validateAddressRangeSchema,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
414
|
+
qn as voidify,
|
|
415
|
+
No as webBaseTokenSchema,
|
|
416
|
+
Fo as webBaseTokenWithBalanceSchema,
|
|
417
|
+
Po as webTokenInfoDetailsSchema,
|
|
418
|
+
vo as webTokenPriceDetailsSchema,
|
|
419
|
+
bo as webTokenSchema,
|
|
420
|
+
Bo as webTokenWithBalanceAndPriceSchema,
|
|
421
|
+
Io as webTokenWithBalanceSchema,
|
|
422
|
+
_o as webTokenWithPriceSchema,
|
|
423
|
+
wo as webTokensWithBalanceAndPriceSchema
|
|
420
424
|
};
|