@argent/x-shared 1.70.3 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +286 -307
  3. package/dist/simulation.cjs +1 -1
  4. package/dist/simulation.js +66 -68
  5. package/dist/src/features/paymaster/types.d.ts +2 -2
  6. package/dist/src/features/simulation/fees/schema.cjs +1 -1
  7. package/dist/src/features/simulation/fees/schema.d.ts +665 -705
  8. package/dist/src/features/simulation/fees/schema.js +32 -39
  9. package/dist/src/features/simulation/transactionReview/schema.cjs +1 -1
  10. package/dist/src/features/simulation/transactionReview/schema.d.ts +2117 -7917
  11. package/dist/src/features/simulation/transactionReview/schema.js +103 -112
  12. package/dist/src/features/swap/models/execute.model.d.ts +4 -0
  13. package/dist/src/features/swap/services/SwapTransactionService.cjs +1 -1
  14. package/dist/src/features/swap/services/SwapTransactionService.js +22 -18
  15. package/dist/src/tokens/isUnlimitedAmount.cjs +1 -1
  16. package/dist/src/tokens/isUnlimitedAmount.js +3 -3
  17. package/dist/src/transactions/amount.cjs +1 -1
  18. package/dist/src/transactions/amount.d.ts +2 -2
  19. package/dist/src/transactions/amount.js +9 -9
  20. package/dist/src/transactions/estimate/adjustment.cjs +1 -0
  21. package/dist/src/transactions/estimate/adjustment.d.ts +4 -0
  22. package/dist/src/transactions/estimate/adjustment.js +7 -0
  23. package/dist/src/transactions/estimate/argentMaxFee.d.ts +3 -3
  24. package/dist/src/transactions/estimate/index.d.ts +0 -1
  25. package/dist/src/transactions/estimate/model.d.ts +1 -10
  26. package/dist/src/transactions/estimate/utils.cjs +1 -1
  27. package/dist/src/transactions/estimate/utils.d.ts +31 -61
  28. package/dist/src/transactions/estimate/utils.js +156 -223
  29. package/dist/src/transactions/index.d.ts +0 -1
  30. package/dist/src/transactions/service/implementation.cjs +1 -1
  31. package/dist/src/transactions/service/implementation.d.ts +39 -22
  32. package/dist/src/transactions/service/implementation.js +130 -97
  33. package/dist/src/transactions/service/index.d.ts +1 -0
  34. package/dist/src/transactions/service/utils.cjs +1 -0
  35. package/dist/src/transactions/service/utils.d.ts +25 -0
  36. package/dist/src/transactions/service/utils.js +25 -0
  37. package/dist/src/transactions/transactionSimulationTypes.d.ts +1 -7
  38. package/dist/src/transactions/transactionVersion.cjs +1 -1
  39. package/dist/src/transactions/transactionVersion.d.ts +5 -6
  40. package/dist/src/transactions/transactionVersion.js +10 -12
  41. package/package.json +2 -2
  42. package/dist/src/transactions/estimate/utilsV2.cjs +0 -1
  43. package/dist/src/transactions/estimate/utilsV2.d.ts +0 -26
  44. package/dist/src/transactions/estimate/utilsV2.js +0 -107
  45. package/dist/src/transactions/getTransactionVersion.cjs +0 -1
  46. package/dist/src/transactions/getTransactionVersion.d.ts +0 -12
  47. package/dist/src/transactions/getTransactionVersion.js +0 -21
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const se=require("./src/bigdecimal/index.cjs"),ie=require("./src/errors/baseErrors.cjs"),oe=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"),ce=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"),me=require("./src/chains/starknet/cairoVersionSchema.cjs"),d=require("./src/chains/starknet/constants.cjs"),x=require("./src/chains/starknet/getAddressFromArgentName.cjs"),D=require("./src/chains/starknet/getAddressFromStarkName.cjs"),W=require("./src/chains/starknet/network.cjs"),Se=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"),E=require("./src/chains/starknet/starknetId.cjs"),de=require("./src/http/DateService.cjs"),le=require("./src/http/HttpError.cjs"),ue=require("./src/http/HttpService.cjs"),he=require("./src/http/IHttpService.cjs"),ge=require("./src/http/SWRService.cjs"),I=require("./src/http/fetcher.cjs"),M=require("./src/http/time.cjs"),Ae=require("./src/knownDapps/KnownDappsBackendService.cjs"),v=require("./src/knownDapps/schema.cjs"),U=require("./src/knownDapps/utils/getDapplandUrl.cjs"),pe=require("./src/nameResolution/ResolveNameService.cjs"),u=require("./src/nameResolution/schema.cjs"),Te=require("./src/nfts/BackendNftService.cjs"),G=require("./src/nfts/utils.cjs"),ke=require("./src/onchainRecovery/OnchainRecoveryService.cjs"),c=require("./src/onchainRecovery/schema.cjs"),ye=require("./src/platform/isBraveBrowser.cjs"),h=require("./src/platform/isBrowser.cjs"),Ce=require("./src/signer/seedphrase.cjs"),z=require("./src/signer/multisigner.cjs"),De=require("./src/signer/mergeOwnerGuardianSignatures.cjs"),i=require("./src/staking/schema.cjs"),j=require("./src/storage/utils.cjs"),K=require("./src/storage/base.cjs"),F=require("./src/tokens/balances.cjs"),Ee=require("./src/tokens/constants.cjs"),ve=require("./src/tokens/convertCurrencyValueToTokenAmount.cjs"),Fe=require("./src/tokens/convertTokenAmountToCurrencyValue.cjs"),qe=require("./src/tokens/convertTokenUnitAmountWithDecimals.cjs"),be=require("./src/tokens/ensureDecimals.cjs"),fe=require("./src/tokens/isUnlimitedAmount.cjs"),Ne=require("./src/tokens/prettifyCurrencyValue.cjs"),$=require("./src/tokens/prettifyTokenAmount.cjs"),Pe=require("./src/tokens/getCurrencySymbol.cjs"),Re=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"),Be=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"),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"),we=require("./src/transactions/getPrettyRcpError.cjs"),p=require("./src/transactions/getTransactionVersion.cjs"),_e=require("./src/transactions/service/implementation.cjs"),Ve=require("./src/transactions/service/types.cjs"),Oe=require("./src/transactions/transactionReviewTypes.cjs"),ee=require("./src/transactions/transactionVersion.cjs"),ae=require("./src/transactions/txv3.cjs"),O=require("./src/transactions/transactionExecuteTypes.cjs"),He=require("./src/utils/address.cjs"),Le=require("./src/utils/arrays.cjs"),q=require("./src/utils/avatarImage.cjs"),b=require("./src/utils/base58.cjs"),xe=require("./src/utils/bigNumber.cjs"),We=require("./src/utils/daysBetween.cjs"),Me=require("./src/utils/env.cjs"),te=require("./src/utils/hex.cjs"),Ue=require("./src/utils/id.cjs"),Ge=require("./src/utils/initials.cjs"),ze=require("./src/utils/isContractDeployed.cjs"),je=require("./src/utils/nonNullable.cjs"),Ke=require("./src/utils/number/isAllowedAddressHexInputValue.cjs"),$e=require("./src/utils/number/isAllowedNumericInputValue.cjs"),Xe=require("./src/utils/number/isNumeric.cjs"),f=require("./src/utils/number/prettifyNumber.cjs"),Ye=require("./src/utils/number/abbreviateNumber.cjs"),re=require("./src/utils/parseAmount.cjs"),Ze=require("./src/utils/pluralise.cjs"),Qe=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"),Je=require("./src/utils/transactions.cjs"),ea=require("./src/utils/url/urlWithQuery.cjs"),aa=require("./src/utils/voidify.cjs"),ta=require("./src/utils/bips.cjs"),ra=require("./src/utils/retryUntilInitialised.cjs"),na=require("./src/currencyFetchService/CurrencyFetchService.cjs"),ne=require("./src/currencyFetchService/types.ts.cjs");exports.bigDecimal=se;exports.BaseError=ie.BaseError;exports.AccountNameGenerator=oe.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=ce.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.isValidHexString=e.isValidHexString;exports.isZeroAddress=e.isZeroAddress;exports.normalizeAddress=e.normalizeAddress;exports.normalizeAddressForCompare=e.normalizeAddressForCompare;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=me.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=D.getAddressFromStarkName;exports.getCallFromStarkName=D.getCallFromStarkName;exports.getStarknetIdContractAddressFromNetworkId=D.getStarknetIdContractAddressFromNetworkId;exports.starkNameToCallDataDomain=D.starkNameToCallDataDomain;exports.getArgentNetwork=W.getArgentNetwork;exports.getChainIdFromNetworkId=W.getChainIdFromNetworkId;exports.StarknetAddressService=Se.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=E.isEqualStarknetId;exports.isStarknetId=E.isStarknetId;exports.normalizeStarknetId=E.normalizeStarknetId;exports.starknetIdSchema=E.starknetIdSchema;exports.DateService=de.DateService;exports.HttpError=le.HttpError;exports.HTTPService=ue.HTTPService;Object.defineProperty(exports,"HTTP_ERROR_MESSAGE",{enumerable:!0,get:()=>he.HTTP_ERROR_MESSAGE});exports.SWRService=ge.SWRService;exports.fetchData=I.fetchData;exports.fetcherError=I.fetcherError;exports.postData=I.postData;exports.getBackendTimeNowSeconds=M.getBackendTimeNowSeconds;exports.getBackendTimeSeconds=M.getBackendTimeSeconds;exports.KnownDappsBackendService=Ae.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=pe.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=Te.BackendNftService;exports.equalNft=G.equalNft;exports.getNftPicture=G.getNftPicture;exports.OnchainRecoveryService=ke.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=ye.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=Ce.seedphraseSchema;Object.defineProperty(exports,"MultiSigner",{enumerable:!0,get:()=>z.MultiSigner});exports.getSignerForMultiSigner=z.getSignerForMultiSigner;exports.mergeOwnerGuardianSignatures=De.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=F.getTokenBalance;exports.getTokens=F.getTokens;exports.getTokensBalances=F.getTokensBalances;exports.useToken=F.useToken;exports.DEFAULT_TOKEN_DECIMALS=Ee.DEFAULT_TOKEN_DECIMALS;exports.convertCurrencyValueToTokenAmount=ve.convertCurrencyValueToTokenAmount;exports.convertTokenAmountToCurrencyValue=Fe.convertTokenAmountToCurrencyValue;exports.convertTokenUnitAmountWithDecimals=qe.convertTokenUnitAmountWithDecimals;exports.ensureDecimals=be.ensureDecimals;exports.isUnlimitedAmount=fe.isUnlimitedAmount;exports.prettifyCurrencyValue=Ne.prettifyCurrencyValue;exports.PRETTY_UNLIMITED=$.PRETTY_UNLIMITED;exports.prettifyTokenAmount=$.prettifyTokenAmount;exports.getCurrencySymbol=Pe.getCurrencySymbol;exports.TokenServiceWeb=Re.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=Be.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=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=we.getPrettyRpcError;exports.getAccountTxVersion=p.getAccountTxVersion;exports.getSimulationTxVersionFromFeeToken=p.getSimulationTxVersionFromFeeToken;exports.getTxVersionForDeclareContract=p.getTxVersionForDeclareContract;exports.getTxVersionFromFeeToken=p.getTxVersionFromFeeToken;exports.getTxVersionFromFeeTokenForDeclareContract=p.getTxVersionFromFeeTokenForDeclareContract;exports.TransactionReviewServiceWeb=_e.TransactionReviewServiceWeb;exports.transactionReviewWarningSchema=Ve.transactionReviewWarningSchema;exports.apiTransactionReviewActivityType=Oe.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=He.formatAddress;exports.ensureArray=Le.ensureArray;exports.generateAvatarImage=q.generateAvatarImage;exports.getColor=q.getColor;exports.getNetworkAccountImageUrl=q.getNetworkAccountImageUrl;exports.stripAddressZeroPadding=q.stripAddressZeroPadding;exports.decodeBase58=b.decodeBase58;exports.decodeBase58Array=b.decodeBase58Array;exports.encodeBase58=b.encodeBase58;exports.encodeBase58Array=b.encodeBase58Array;exports.bigNumberSchema=xe.bigNumberSchema;exports.daysBetween=We.daysBetween;exports.isFeatureEnabled=Me.isFeatureEnabled;exports.hexSchema=te.hexSchema;exports.hexSchemaBase=te.hexSchemaBase;exports.id=Ue.id;exports.getInitials=Ge.getInitials;exports.isContractDeployed=ze.isContractDeployed;exports.nonNullable=je.nonNullable;exports.isAllowedAddressHexInputValue=Ke.isAllowedAddressHexInputValue;exports.isAllowedNumericInputValue=$e.isAllowedNumericInputValue;exports.isNumeric=Xe.isNumeric;exports.prettifyCurrencyNumber=f.prettifyCurrencyNumber;exports.prettifyNumber=f.prettifyNumber;exports.prettifyNumberConfig=f.prettifyNumberConfig;exports.prettifyTokenNumber=f.prettifyTokenNumber;exports.abbreviateNumber=Ye.abbreviateNumber;exports.getUint256CalldataFromBN=re.getUint256CalldataFromBN;exports.parseAmountValue=re.parseAmountValue;exports.pluralise=Ze.pluralise;exports.readFileAsString=Qe.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=Je.entryPointToHumanReadable;exports.urlWithQuery=ea.urlWithQuery;exports.voidify=aa.voidify;exports.bipsToPercent=ta.bipsToPercent;exports.retryUntilInitialised=ra.retryUntilInitialised;exports.CurrencyFetchService=na.CurrencyFetchService;exports.currenciesDetailsSchema=ne.currenciesDetailsSchema;exports.currencyDetailsSchema=ne.currencyDetailsSchema;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("./src/bigdecimal/index.cjs"),re=require("./src/errors/baseErrors.cjs"),ne=require("./src/accountNameGenerator/index.cjs"),A=require("./src/account/account.model.cjs"),P=require("./src/account/accountv4.cjs"),O=require("./src/account/preferences.model.cjs"),p=require("./src/backend/schema.cjs"),T=require("./src/backend/sessionKeys/schema.cjs"),se=require("./src/cache/CacheService.cjs"),e=require("./src/chains/starknet/address.cjs"),d=require("./src/chains/starknet/addressDomain.cjs"),V=require("./src/chains/starknet/addressInput.cjs"),k=require("./src/chains/starknet/argentName.cjs"),ie=require("./src/chains/starknet/cairoVersionSchema.cjs"),S=require("./src/chains/starknet/constants.cjs"),H=require("./src/chains/starknet/getAddressFromArgentName.cjs"),y=require("./src/chains/starknet/getAddressFromStarkName.cjs"),L=require("./src/chains/starknet/network.cjs"),ce=require("./src/chains/starknet/services/address/StarknetAddressService.cjs"),N=require("./src/chains/starknet/services/deploymentData/constants.cjs"),R=require("./src/chains/starknet/services/deploymentData/deploymentData.schema.cjs"),u=require("./src/chains/starknet/services/deploymentData/findImplementationForAccount.cjs"),o=require("./src/chains/starknet/services/deploymentData/getAccountClassHash.cjs"),C=require("./src/chains/starknet/starknetId.cjs"),oe=require("./src/http/DateService.cjs"),me=require("./src/http/HttpError.cjs"),Se=require("./src/http/HttpService.cjs"),de=require("./src/http/IHttpService.cjs"),le=require("./src/http/SWRService.cjs"),F=require("./src/http/fetcher.cjs"),M=require("./src/http/time.cjs"),he=require("./src/knownDapps/KnownDappsBackendService.cjs"),v=require("./src/knownDapps/schema.cjs"),W=require("./src/knownDapps/utils/getDapplandUrl.cjs"),ue=require("./src/nameResolution/ResolveNameService.cjs"),l=require("./src/nameResolution/schema.cjs"),ge=require("./src/nfts/BackendNftService.cjs"),x=require("./src/nfts/utils.cjs"),Ae=require("./src/onchainRecovery/OnchainRecoveryService.cjs"),c=require("./src/onchainRecovery/schema.cjs"),pe=require("./src/platform/isBraveBrowser.cjs"),h=require("./src/platform/isBrowser.cjs"),Te=require("./src/signer/seedphrase.cjs"),U=require("./src/signer/multisigner.cjs"),ke=require("./src/signer/mergeOwnerGuardianSignatures.cjs"),i=require("./src/staking/schema.cjs"),G=require("./src/storage/utils.cjs"),z=require("./src/storage/base.cjs"),D=require("./src/tokens/balances.cjs"),ye=require("./src/tokens/constants.cjs"),Ce=require("./src/tokens/convertCurrencyValueToTokenAmount.cjs"),ve=require("./src/tokens/convertTokenAmountToCurrencyValue.cjs"),De=require("./src/tokens/convertTokenUnitAmountWithDecimals.cjs"),Ee=require("./src/tokens/ensureDecimals.cjs"),qe=require("./src/tokens/isUnlimitedAmount.cjs"),be=require("./src/tokens/prettifyCurrencyValue.cjs"),K=require("./src/tokens/prettifyTokenAmount.cjs"),fe=require("./src/tokens/getCurrencySymbol.cjs"),Pe=require("./src/tokens/service/implementation.cjs"),$=require("./src/tokens/service/tokenError.cjs"),a=require("./src/tokens/service/types/backend.model.cjs"),n=require("./src/tokens/service/types/defiPosition.model.cjs"),Ne=require("./src/tokens/service/types/defiPositionType.model.cjs"),j=require("./src/tokens/service/types/unclaimedRewards.model.cjs"),m=require("./src/tokens/service/types/webToken.model.cjs"),g=require("./src/tokens/utils.cjs"),B=require("./src/transactions/amount.cjs"),I=require("./src/transactions/buildTransactions.cjs"),X=require("./src/transactions/errors.cjs"),w=require("./src/transactions/estimate/argentMaxFee.cjs"),Y=require("./src/transactions/estimate/error.cjs"),Re=require("./src/transactions/estimate/model.cjs"),s=require("./src/transactions/estimate/utils.cjs"),Z=require("./src/transactions/findTransfersAndApprovals.cjs"),Fe=require("./src/transactions/getPrettyRcpError.cjs"),Be=require("./src/transactions/service/implementation.cjs"),Ie=require("./src/transactions/service/types.cjs"),we=require("./src/transactions/service/utils.cjs"),_e=require("./src/transactions/transactionReviewTypes.cjs"),Oe=require("./src/transactions/transactionVersion.cjs"),Q=require("./src/transactions/txv3.cjs"),_=require("./src/transactions/transactionExecuteTypes.cjs"),Ve=require("./src/utils/address.cjs"),He=require("./src/utils/arrays.cjs"),E=require("./src/utils/avatarImage.cjs"),q=require("./src/utils/base58.cjs"),Le=require("./src/utils/bigNumber.cjs"),Me=require("./src/utils/daysBetween.cjs"),We=require("./src/utils/env.cjs"),J=require("./src/utils/hex.cjs"),xe=require("./src/utils/id.cjs"),Ue=require("./src/utils/initials.cjs"),Ge=require("./src/utils/isContractDeployed.cjs"),ze=require("./src/utils/nonNullable.cjs"),Ke=require("./src/utils/number/isAllowedAddressHexInputValue.cjs"),$e=require("./src/utils/number/isAllowedNumericInputValue.cjs"),je=require("./src/utils/number/isNumeric.cjs"),b=require("./src/utils/number/prettifyNumber.cjs"),Xe=require("./src/utils/number/abbreviateNumber.cjs"),ee=require("./src/utils/parseAmount.cjs"),Ye=require("./src/utils/pluralise.cjs"),Ze=require("./src/utils/readFileAsString.cjs"),f=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"),ra=require("./src/currencyFetchService/CurrencyFetchService.cjs"),ae=require("./src/currencyFetchService/types.ts.cjs");exports.bigDecimal=te;exports.BaseError=re.BaseError;exports.AccountNameGenerator=ne.AccountNameGenerator;exports.AddSmartAccountResponseSchema=A.AddSmartAccountResponseSchema;exports.AddSmartAcountRequestSchema=A.AddSmartAcountRequestSchema;exports.BackendAccountSchema=A.BackendAccountSchema;exports.baseWalletAccountSchema=A.baseWalletAccountSchema;exports.isAccountV4=P.isAccountV4;exports.isAccountV5=P.isAccountV5;exports.isAccountV6=P.isAccountV6;exports.preferencesEndpointPayload=O.preferencesEndpointPayload;exports.preferencesSchema=O.preferencesSchema;exports.argentBackendNetworkIdSchema=p.argentBackendNetworkIdSchema;exports.argentNetworkIdSchema=p.argentNetworkIdSchema;exports.isArgentBackendNetworkId=p.isArgentBackendNetworkId;exports.isArgentNetworkId=p.isArgentNetworkId;exports.backendSessionAllowedMethodSchema=T.backendSessionAllowedMethodSchema;exports.backendSessionMetadataSchema=T.backendSessionMetadataSchema;exports.backendSessionSchema=T.backendSessionSchema;exports.backendSessionTxFeeSchema=T.backendSessionTxFeeSchema;exports.CacheService=se.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.isValidHexString=e.isValidHexString;exports.isZeroAddress=e.isZeroAddress;exports.normalizeAddress=e.normalizeAddress;exports.normalizeAddressForCompare=e.normalizeAddressForCompare;exports.validChecksumAddressSchema=e.validChecksumAddressSchema;exports.validateAddressRangeSchema=e.validateAddressRangeSchema;exports.addressOrDomainInputSchema=d.addressOrDomainInputSchema;exports.addressOrDomainSchema=d.addressOrDomainSchema;exports.isEqualStarknetDomainName=d.isEqualStarknetDomainName;exports.isStarknetDomainName=d.isStarknetDomainName;exports.normalizeAddressOrDomain=d.normalizeAddressOrDomain;exports.starknetDomainNameSchema=d.starknetDomainNameSchema;exports.addressInputCharactersAndLengthSchema=V.addressInputCharactersAndLengthSchema;exports.addressInputSchema=V.addressInputSchema;exports.argentNameSchema=k.argentNameSchema;exports.isArgentName=k.isArgentName;exports.isEqualArgentName=k.isEqualArgentName;exports.normalizeArgentName=k.normalizeArgentName;exports.cairoVersionSchema=ie.cairoVersionSchema;exports.ETH_TOKEN_ADDRESS=S.ETH_TOKEN_ADDRESS;exports.STANDARD_DEVNET_ACCOUNT_CLASS_HASH=S.STANDARD_DEVNET_ACCOUNT_CLASS_HASH;exports.STRK_TOKEN_ADDRESS=S.STRK_TOKEN_ADDRESS;exports.TXV1_ACCOUNT_CLASS_HASH=S.TXV1_ACCOUNT_CLASS_HASH;exports.TXV1_MULTISIG_CLASS_HASH=S.TXV1_MULTISIG_CLASS_HASH;exports.TXV3_ACCOUNT_CLASS_HASH=S.TXV3_ACCOUNT_CLASS_HASH;exports.TXV3_MULTISIG_CLASS_HASH=S.TXV3_MULTISIG_CLASS_HASH;exports.apiWalletResponseSchema=H.apiWalletResponseSchema;exports.getAddressFromArgentName=H.getAddressFromArgentName;exports.getAddressFromStarkName=y.getAddressFromStarkName;exports.getCallFromStarkName=y.getCallFromStarkName;exports.getStarknetIdContractAddressFromNetworkId=y.getStarknetIdContractAddressFromNetworkId;exports.starkNameToCallDataDomain=y.starkNameToCallDataDomain;exports.getArgentNetwork=L.getArgentNetwork;exports.getChainIdFromNetworkId=L.getChainIdFromNetworkId;exports.StarknetAddressService=ce.StarknetAddressService;exports.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES=N.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES;exports.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES=N.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES;exports.C0_PROXY_CONTRACT_CLASS_HASHES=N.C0_PROXY_CONTRACT_CLASS_HASHES;exports.constructorCallDataSchemaC0=R.constructorCallDataSchemaC0;exports.constructorCallDataSchemaC1V1=R.constructorCallDataSchemaC1V1;exports.implementationSchema=R.implementationSchema;exports.buildConstructorCalldata=u.buildConstructorCalldata;exports.findImplementationForAccount=u.findImplementationForAccount;exports.getAccountContractAddress=u.getAccountContractAddress;exports.getAccountDeploymentPayload=u.getAccountDeploymentPayload;exports.isEqualImplementation=u.isEqualImplementation;exports.getAccountVersionByClasshash=o.getAccountVersionByClasshash;exports.getArgentAccountClassHashes=o.getArgentAccountClassHashes;exports.getArgentAccountClassHashesWithTxV3Support=o.getArgentAccountClassHashesWithTxV3Support;exports.getArgentAccountWithMultiSignerClassHashes=o.getArgentAccountWithMultiSignerClassHashes;exports.getLastCairo0ArgentAccountClassHash=o.getLastCairo0ArgentAccountClassHash;exports.getLatestArgentAccountClassHash=o.getLatestArgentAccountClassHash;exports.getLatestArgentMultisigClassHash=o.getLatestArgentMultisigClassHash;exports.getLatestLedgerAccountClassHash=o.getLatestLedgerAccountClassHash;exports.getLedgerAccountClassHashes=o.getLedgerAccountClassHashes;exports.isEqualStarknetId=C.isEqualStarknetId;exports.isStarknetId=C.isStarknetId;exports.normalizeStarknetId=C.normalizeStarknetId;exports.starknetIdSchema=C.starknetIdSchema;exports.DateService=oe.DateService;exports.HttpError=me.HttpError;exports.HTTPService=Se.HTTPService;Object.defineProperty(exports,"HTTP_ERROR_MESSAGE",{enumerable:!0,get:()=>de.HTTP_ERROR_MESSAGE});exports.SWRService=le.SWRService;exports.fetchData=F.fetchData;exports.fetcherError=F.fetcherError;exports.postData=F.postData;exports.getBackendTimeNowSeconds=M.getBackendTimeNowSeconds;exports.getBackendTimeSeconds=M.getBackendTimeSeconds;exports.KnownDappsBackendService=he.KnownDappsBackendService;exports.dappContractSchema=v.dappContractSchema;exports.dappLinkSchema=v.dappLinkSchema;exports.knownDappSchema=v.knownDappSchema;exports.knownDappsSchema=v.knownDappsSchema;exports.getDapplandLinkForDapp=W.getDapplandLinkForDapp;exports.getDapplandUrlForDapp=W.getDapplandUrlForDapp;exports.ResolveNameService=ue.ResolveNameService;exports.nameProviderResolutionSchema=l.nameProviderResolutionSchema;exports.nameResolutionAddressSchema=l.nameResolutionAddressSchema;exports.nameResolutionAddressesSchema=l.nameResolutionAddressesSchema;exports.nameResolutionStarknetIdSchema=l.nameResolutionStarknetIdSchema;exports.nameResolutionStarknetIdsSchema=l.nameResolutionStarknetIdsSchema;exports.providersNamesSchema=l.providersNamesSchema;exports.BackendNftService=ge.BackendNftService;exports.equalNft=x.equalNft;exports.getNftPicture=x.getNftPicture;exports.OnchainRecoveryService=Ae.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=pe.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=Te.seedphraseSchema;Object.defineProperty(exports,"MultiSigner",{enumerable:!0,get:()=>U.MultiSigner});exports.getSignerForMultiSigner=U.getSignerForMultiSigner;exports.mergeOwnerGuardianSignatures=ke.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=G.containsValue;exports.replaceValueRecursively=G.replaceValueRecursively;exports.mergeArrayStableWith=z.mergeArrayStableWith;exports.optionsWithDefaults=z.optionsWithDefaults;exports.getTokenBalance=D.getTokenBalance;exports.getTokens=D.getTokens;exports.getTokensBalances=D.getTokensBalances;exports.useToken=D.useToken;exports.DEFAULT_TOKEN_DECIMALS=ye.DEFAULT_TOKEN_DECIMALS;exports.convertCurrencyValueToTokenAmount=Ce.convertCurrencyValueToTokenAmount;exports.convertTokenAmountToCurrencyValue=ve.convertTokenAmountToCurrencyValue;exports.convertTokenUnitAmountWithDecimals=De.convertTokenUnitAmountWithDecimals;exports.ensureDecimals=Ee.ensureDecimals;exports.isUnlimitedAmount=qe.isUnlimitedAmount;exports.prettifyCurrencyValue=be.prettifyCurrencyValue;exports.PRETTY_UNLIMITED=K.PRETTY_UNLIMITED;exports.prettifyTokenAmount=K.prettifyTokenAmount;exports.getCurrencySymbol=fe.getCurrencySymbol;exports.TokenServiceWeb=Pe.TokenServiceWeb;Object.defineProperty(exports,"TOKEN_ERROR_MESSAGES",{enumerable:!0,get:()=>$.TOKEN_ERROR_MESSAGES});exports.TokenError=$.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=n.collateralizedDebtGroupSchema;exports.collateralizedDebtPositionSchema=n.collateralizedDebtPositionSchema;exports.collateralizedDebtPositionsSchema=n.collateralizedDebtPositionsSchema;exports.concentratedLiquidityPositionSchema=n.concentratedLiquidityPositionSchema;exports.concentratedLiquidityPositionsSchema=n.concentratedLiquidityPositionsSchema;exports.defiDappsProductsSchema=n.defiDappsProductsSchema;exports.defiPositionSchema=n.defiPositionSchema;exports.defiProductSchema=n.defiProductSchema;exports.defiProductsSchema=n.defiProductsSchema;exports.delegatedTokensArraySchema=n.delegatedTokensArraySchema;exports.delegatedTokensSchema=n.delegatedTokensSchema;exports.productGroupsSchema=n.productGroupsSchema;exports.stakingPositionSchema=n.stakingPositionSchema;exports.stakingPositionsSchema=n.stakingPositionsSchema;exports.strkDelegatedStakingPositionArraySchema=n.strkDelegatedStakingPositionArraySchema;exports.strkDelegatedStakingPositionSchema=n.strkDelegatedStakingPositionSchema;exports.defiPositionTypeSchema=Ne.defiPositionTypeSchema;exports.airdropSchema=j.airdropSchema;exports.unclaimedRewardsSchema=j.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=g.isCollateralizedDebtPosition;exports.isConcentratedLiquidityPosition=g.isConcentratedLiquidityPosition;exports.isDelegatedTokens=g.isDelegatedTokens;exports.isStaking=g.isStaking;exports.isStrkDelegatedStaking=g.isStrkDelegatedStaking;exports.inputAmountSchema=B.inputAmountSchema;exports.isValidInputAmount=B.isValidInputAmount;exports.parseAmount=B.parseAmount;exports.erc20TransferTransaction=I.erc20TransferTransaction;exports.erc721SafeTransferFromTransaction=I.erc721SafeTransferFromTransaction;exports.erc721TransferFromTransaction=I.erc721TransferFromTransaction;exports.getMessageFromTrpcError=X.getMessageFromTrpcError;exports.trpcErrorSchema=X.trpcErrorSchema;exports.FEE_OVERHEAD=w.FEE_OVERHEAD;exports.argentMaxFee=w.argentMaxFee;exports.modifySnjsFeeOverhead=w.modifySnjsFeeOverhead;Object.defineProperty(exports,"ESTIMATE_ERROR_MESSAGES",{enumerable:!0,get:()=>Y.ESTIMATE_ERROR_MESSAGES});exports.EstimateError=Y.EstimateError;exports.transactionReviewTransactionsSchema=Re.transactionReviewTransactionsSchema;exports.estimatedFeeToMaxFeeTotal=s.estimatedFeeToMaxFeeTotal;exports.estimatedFeeToMaxResourceBounds=s.estimatedFeeToMaxResourceBounds;exports.estimatedFeeToTotal=s.estimatedFeeToTotal;exports.estimatedFeesToMaxFeeTotalV2=s.estimatedFeesToMaxFeeTotalV2;exports.estimatedFeesToTotal=s.estimatedFeesToTotal;exports.estimatedFeesToTotalV2=s.estimatedFeesToTotalV2;exports.filterPaymasterEstimatedFees=s.filterPaymasterEstimatedFees;exports.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2=s.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2;exports.getNativeEstimatedFeeByFeeToken=s.getNativeEstimatedFeeByFeeToken;exports.getNativeEstimatedFeeByTxVersion=s.getNativeEstimatedFeeByTxVersion;exports.getNativeEstimatedFeeForAccount=s.getNativeEstimatedFeeForAccount;exports.getNativeEstimatedFees=s.getNativeEstimatedFees;exports.getNativeFeeFromSimulation=s.getNativeFeeFromSimulation;exports.getNativeFeeTokenAddress=s.getNativeFeeTokenAddress;exports.getPaymasterFeeFromSimulation=s.getPaymasterFeeFromSimulation;exports.toMaxFeeEstimation=s.toMaxFeeEstimation;exports.EventsBySelector=Z.EventsBySelector;exports.findTransfersAndApprovals=Z.findTransfersAndApprovals;exports.getPrettyRpcError=Fe.getPrettyRpcError;exports.TransactionReviewServiceWeb=Be.TransactionReviewServiceWeb;exports.transactionReviewWarningSchema=Ie.transactionReviewWarningSchema;exports.getPayloadFromTransaction=we.getPayloadFromTransaction;exports.apiTransactionReviewActivityType=_e.apiTransactionReviewActivityType;exports.txVersionSchema=Oe.txVersionSchema;exports.classHashSupportsTxV3=Q.classHashSupportsTxV3;exports.feeTokenNeedsTxV3Support=Q.feeTokenNeedsTxV3Support;exports.transactionExecutionResponseSchema=_.transactionExecutionResponseSchema;exports.transactionPromotionPrizeSchema=_.transactionPromotionPrizeSchema;exports.transactionPromotionSchema=_.transactionPromotionSchema;exports.formatAddress=Ve.formatAddress;exports.ensureArray=He.ensureArray;exports.generateAvatarImage=E.generateAvatarImage;exports.getColor=E.getColor;exports.getNetworkAccountImageUrl=E.getNetworkAccountImageUrl;exports.stripAddressZeroPadding=E.stripAddressZeroPadding;exports.decodeBase58=q.decodeBase58;exports.decodeBase58Array=q.decodeBase58Array;exports.encodeBase58=q.encodeBase58;exports.encodeBase58Array=q.encodeBase58Array;exports.bigNumberSchema=Le.bigNumberSchema;exports.daysBetween=Me.daysBetween;exports.isFeatureEnabled=We.isFeatureEnabled;exports.hexSchema=J.hexSchema;exports.hexSchemaBase=J.hexSchemaBase;exports.id=xe.id;exports.getInitials=Ue.getInitials;exports.isContractDeployed=Ge.isContractDeployed;exports.nonNullable=ze.nonNullable;exports.isAllowedAddressHexInputValue=Ke.isAllowedAddressHexInputValue;exports.isAllowedNumericInputValue=$e.isAllowedNumericInputValue;exports.isNumeric=je.isNumeric;exports.prettifyCurrencyNumber=b.prettifyCurrencyNumber;exports.prettifyNumber=b.prettifyNumber;exports.prettifyNumberConfig=b.prettifyNumberConfig;exports.prettifyTokenNumber=b.prettifyTokenNumber;exports.abbreviateNumber=Xe.abbreviateNumber;exports.getUint256CalldataFromBN=ee.getUint256CalldataFromBN;exports.parseAmountValue=ee.parseAmountValue;exports.pluralise=Ye.pluralise;exports.readFileAsString=Ze.readFileAsString;exports.booleanToStringSchema=f.booleanToStringSchema;exports.createSchemaWithWarnings=f.createSchemaWithWarnings;exports.safeParseAndWarn=f.safeParseAndWarn;exports.stringToBooleanSchema=f.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;exports.CurrencyFetchService=ra.CurrencyFetchService;exports.currenciesDetailsSchema=ae.currenciesDetailsSchema;exports.currencyDetailsSchema=ae.currencyDetailsSchema;