UNPKG

@etherspot/remote-signer

Version:

Etherspot Permissioned Signer SDK - signs the UserOp with SessionKey and sends it to the Bundler

20 lines (17 loc) 663 B
import { B as BaseAccountUserOperationStruct } from '../../ERC4337Utils-DFwtlIAE.js'; import 'viem'; import '../types/bignumber.js'; import '../types/common-types.js'; import 'node_modules/viem/_types/errors/utils'; interface GasOverheads { fixed: number; perUserOp: number; perUserOpWord: number; zeroByte: number; nonZeroByte: number; bundleSize: number; sigSize: number; } declare const DefaultGasOverheads: GasOverheads; declare function calcPreVerificationGas(userOp: Partial<BaseAccountUserOperationStruct>, overheads?: Partial<GasOverheads>): number; export { DefaultGasOverheads, type GasOverheads, calcPreVerificationGas };