{
  "version": 3,
  "sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.ts"],
  "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\n\nexport const getCachedTransactionListItem = (\n  hash: string,\n  store?: StoreType\n): ITransactionListItem | null => {\n  const cachedTransaction = getCachedItemSelector<ITransactionListItem>(\n    `transaction-${hash}`\n  )(store ?? getState());\n\n  return cachedTransaction ?? null;\n};\n"],
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAAsC,yCACtCC,EAAyB,uBAGlB,MAAMH,EAA+B,CAC1CI,EACAC,OAE0B,yBACxB,eAAeD,CAAI,EACrB,EAAEC,MAAS,YAAS,CAAC,GAEO",
  "names": ["getCachedTransactionListItem_exports", "__export", "getCachedTransactionListItem", "__toCommonJS", "import_cacheSelector", "import_store", "hash", "store"]
}
