@argent/x-shared 1.67.1 → 1.67.3

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