{"version":3,"sources":["../../src/sdk/base/PaymasterAPI.ts"],"sourcesContent":["import { UserOperationStruct } from '../types/user-operation-types';\nimport { PaymasterResponse } from './VerifyingPaymasterAPI';\n\n/**\n * an API to external a UserOperation with paymaster info\n */\nexport class PaymasterAPI {\n  /**\n   * @param userOp a partially-filled UserOperation (without signature and paymasterData\n   *  note that the \"preVerificationGas\" is incomplete: it can't account for the\n   *  paymasterData value, which will only be returned by this method..\n   * @returns the value to put into the PaymasterData, undefined to leave it empty\n   */\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  async getPaymasterData(userOp: Partial<UserOperationStruct>): Promise<PaymasterResponse | undefined> {\n    return { result: { paymaster: '0x', paymasterData: '0x', paymasterPostOpGasLimit: '0x', paymasterVerificationGasLimit: '0x', preVerificationGas: '0x', verificationGasLimit: '0x', callGasLimit: '0x' }};\n  }\n}\n"],"mappings":";AAMO,IAAM,eAAN,MAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQxB,MAAM,iBAAiB,QAA8E;AACnG,WAAO,EAAE,QAAQ,EAAE,WAAW,MAAM,eAAe,MAAM,yBAAyB,MAAM,+BAA+B,MAAM,oBAAoB,MAAM,sBAAsB,MAAM,cAAc,KAAK,EAAC;AAAA,EACzM;AACF;","names":[]}