UNPKG

@alchemy/aa-core

Version:

viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

22 lines 848 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidUserOperationError = void 0; const base_js_1 = require("./base.js"); class InvalidUserOperationError extends base_js_1.BaseError { constructor(uo) { super(`Request is missing parameters. All properties on UserOperationStruct must be set. uo: ${JSON.stringify(uo, (_key, value) => typeof value === "bigint" ? { type: "bigint", value: value.toString(), } : value, 2)}`); Object.defineProperty(this, "name", { enumerable: true, configurable: true, writable: true, value: "InvalidUserOperationError" }); } } exports.InvalidUserOperationError = InvalidUserOperationError; //# sourceMappingURL=useroperation.js.map