{"version":3,"file":"account.mjs","sources":["../../../../src/plugins/whitelistModule/account.ts"],"sourcesContent":["import { Whitelist as SolitaWhitelist } from '@convergence-rfq/rfq';\n\nimport {\n  Account,\n  getAccountParsingAndAssertingFunction,\n  getAccountParsingFunction,\n} from '../../types';\n\n/** @group Accounts */\nexport type WhitelistAccount = Account<SolitaWhitelist>;\n\n// TODO: Categorize bugs and what caused them, how to mitigate in future? Paywrite\n\n/** @group Account Helpers */\nexport const parseWhitelistAccount = getAccountParsingFunction(SolitaWhitelist);\n\n/** @group Account Helpers */\nexport const toWhitelistAccount =\n  getAccountParsingAndAssertingFunction(SolitaWhitelist);\n"],"names":["parseWhitelistAccount","getAccountParsingFunction","SolitaWhitelist","toWhitelistAccount","getAccountParsingAndAssertingFunction"],"mappings":";;;AAQA;;AAGA;;AAEA;IACaA,qBAAqB,GAAGC,yBAAyB,CAACC,SAAe,EAAC;;AAE/E;IACaC,kBAAkB,GAC7BC,qCAAqC,CAACF,SAAe;;;;"}