@owlprotocol/contracts-account-abstraction
Version:
ERC4337 Account Abstraction support for deploying relevant smart contracts and interacting with UserOps.
99 lines (98 loc) • 3.43 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var errors_exports = {};
__export(errors_exports, {
errors: () => errors
});
module.exports = __toCommonJS(errors_exports);
const errors = [
{ inputs: [{ internalType: "address", name: "target", type: "address" }], name: "AddressEmptyCode", type: "error" },
{ inputs: [], name: "ECDSAInvalidSignature", type: "error" },
{
inputs: [{ internalType: "uint256", name: "length", type: "uint256" }],
name: "ECDSAInvalidSignatureLength",
type: "error"
},
{
inputs: [{ internalType: "bytes32", name: "s", type: "bytes32" }],
name: "ECDSAInvalidSignatureS",
type: "error"
},
{
inputs: [{ internalType: "address", name: "implementation", type: "address" }],
name: "ERC1967InvalidImplementation",
type: "error"
},
{ inputs: [], name: "ERC1967NonPayable", type: "error" },
{ inputs: [], name: "FailedInnerCall", type: "error" },
{ inputs: [], name: "InvalidInitialization", type: "error" },
{ inputs: [], name: "NotInitializing", type: "error" },
{ inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" },
{
inputs: [{ internalType: "bytes32", name: "slot", type: "bytes32" }],
name: "UUPSUnsupportedProxiableUUID",
type: "error"
},
{
inputs: [{ internalType: "address", name: "owner", type: "address" }],
name: "OwnableInvalidOwner",
type: "error"
},
{
inputs: [{ internalType: "address", name: "account", type: "address" }],
name: "OwnableUnauthorizedAccount",
type: "error"
},
{
inputs: [
{ internalType: "bool", name: "success", type: "bool" },
{ internalType: "bytes", name: "ret", type: "bytes" }
],
name: "DelegateAndRevert",
type: "error"
},
{
inputs: [
{ internalType: "uint256", name: "opIndex", type: "uint256" },
{ internalType: "string", name: "reason", type: "string" }
],
name: "FailedOp",
type: "error"
},
{
inputs: [
{ internalType: "uint256", name: "opIndex", type: "uint256" },
{ internalType: "string", name: "reason", type: "string" },
{ internalType: "bytes", name: "inner", type: "bytes" }
],
name: "FailedOpWithRevert",
type: "error"
},
{ inputs: [{ internalType: "bytes", name: "returnData", type: "bytes" }], name: "PostOpReverted", type: "error" },
{ inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
{
inputs: [{ internalType: "address", name: "sender", type: "address" }],
name: "SenderAddressResult",
type: "error"
},
{
inputs: [{ internalType: "address", name: "aggregator", type: "address" }],
name: "SignatureValidationFailed",
type: "error"
}
];